mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-20 20:22:46 +00:00
ci: bump version
This commit is contained in:
parent
938f67c7b4
commit
fcb8dd5f3a
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -13,10 +13,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Go 1.18
|
- name: Set up Go 1.18
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.18
|
||||||
id: go
|
id: go
|
||||||
|
20
.github/workflows/tunasync.yml
vendored
20
.github/workflows/tunasync.yml
vendored
@ -10,10 +10,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Go 1.18
|
- name: Set up Go 1.18
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.18
|
||||||
id: go
|
id: go
|
||||||
@ -29,7 +29,7 @@ jobs:
|
|||||||
make tunasynctl
|
make tunasynctl
|
||||||
|
|
||||||
- name: Keep artifacts
|
- name: Keep artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: tunasync-bin
|
name: tunasync-bin
|
||||||
path: build-linux-amd64/
|
path: build-linux-amd64/
|
||||||
@ -51,10 +51,10 @@ jobs:
|
|||||||
docker pull alpine:3.8
|
docker pull alpine:3.8
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Go 1.18
|
- name: Set up Go 1.18
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.18
|
||||||
id: go
|
id: go
|
||||||
@ -89,11 +89,11 @@ jobs:
|
|||||||
run_test_reexec 5 tunasync-exec2
|
run_test_reexec 5 tunasync-exec2
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
driver-opts: network=host
|
driver-opts: network=host
|
||||||
- name: Cache Docker layers
|
- name: Cache Docker layers
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
with:
|
with:
|
||||||
path: /tmp/.buildx-cache
|
path: /tmp/.buildx-cache
|
||||||
@ -101,7 +101,7 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-buildx-
|
${{ runner.os }}-buildx-
|
||||||
- name: Cache Docker layers
|
- name: Cache Docker layers
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
with:
|
with:
|
||||||
path: /tmp/.buildx-cache
|
path: /tmp/.buildx-cache
|
||||||
@ -120,7 +120,7 @@ jobs:
|
|||||||
mkdir -p /tmp/.buildx-cache
|
mkdir -p /tmp/.buildx-cache
|
||||||
|
|
||||||
- name: Build Docker image for uml rootfs
|
- name: Build Docker image for uml rootfs
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .umlrootfs
|
context: .umlrootfs
|
||||||
file: .umlrootfs/Dockerfile
|
file: .umlrootfs/Dockerfile
|
||||||
@ -227,7 +227,7 @@ jobs:
|
|||||||
profile5_*.cov > profile-all.cov
|
profile5_*.cov > profile-all.cov
|
||||||
|
|
||||||
- name: Convert coverage to lcov
|
- name: Convert coverage to lcov
|
||||||
uses: jandelgado/gcov2lcov-action@v1.0.0
|
uses: jandelgado/gcov2lcov-action@v1
|
||||||
with:
|
with:
|
||||||
infile: profile-all.cov
|
infile: profile-all.cov
|
||||||
outfile: coverage.lcov
|
outfile: coverage.lcov
|
||||||
|
Loading…
x
Reference in New Issue
Block a user