File tree Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,23 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout code
13
- uses : actions/checkout@v3
13
+ uses : actions/checkout@v4
14
14
- name : Get changed files
15
15
id : changed-files
16
- uses : tj-actions/changed-files@v39
16
+ uses : tj-actions/changed-files@v45
17
17
with :
18
18
files_yaml : |
19
19
go:
20
20
- '**/*.go'
21
21
- name : Set up Go
22
22
if : steps.changed-files.outputs.go_any_changed == 'true'
23
- uses : actions/setup-go@v4
23
+ uses : actions/setup-go@v5
24
24
with :
25
25
go-version : " 1.19"
26
26
cache : false
27
27
- name : Run golangci-lint
28
28
if : steps.changed-files.outputs.go_any_changed == 'true'
29
- uses : golangci/golangci-lint-action@v3
29
+ uses : golangci/golangci-lint-action@v6
30
30
with :
31
31
version : latest
32
32
only-new-issues : true
@@ -37,12 +37,12 @@ jobs:
37
37
runs-on : ubuntu-latest
38
38
steps :
39
39
- name : Checkout code
40
- uses : actions/checkout@v3
40
+ uses : actions/checkout@v4
41
41
with :
42
42
fetch-depth : 0
43
43
- name : Get changed files
44
44
id : changed-files
45
- uses : tj-actions/changed-files@v39
45
+ uses : tj-actions/changed-files@v45
46
46
with :
47
47
files_yaml : |
48
48
go:
60
60
run : git rebase origin/main
61
61
- name : Set up Go
62
62
if : steps.changed-files.outputs.go_any_modified == 'true'
63
- uses : actions/setup-go@v4
63
+ uses : actions/setup-go@v5
64
64
with :
65
65
go-version : " 1.19"
66
66
- name : Run unit tests
Original file line number Diff line number Diff line change @@ -12,23 +12,23 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Checkout code
15
- uses : actions/checkout@v3
15
+ uses : actions/checkout@v4
16
16
with :
17
17
fetch-depth : 0
18
18
- name : Get tag
19
19
run : echo "tag=$(git describe --tags --match 'algorithm-v*' | sed -e 's/^algorithm-//')" >> $GITHUB_ENV
20
20
- name : Set up QEMU
21
- uses : docker/setup-qemu-action@v2
21
+ uses : docker/setup-qemu-action@v3
22
22
- name : Set up Docker Buildx
23
- uses : docker/setup-buildx-action@v2
23
+ uses : docker/setup-buildx-action@v3
24
24
- name : Login to GitHub Container Registry
25
- uses : docker/login-action@v2
25
+ uses : docker/login-action@v3
26
26
with :
27
27
registry : ghcr.io
28
28
username : ${{ github.actor }}
29
29
password : ${{ secrets.GITHUB_TOKEN }}
30
30
- name : Build and push image
31
- uses : docker/build-push-action@v4
31
+ uses : docker/build-push-action@v6
32
32
with :
33
33
context : ./algorithm
34
34
file : ./algorithm/horizontal-predictive.Dockerfile
Original file line number Diff line number Diff line change @@ -12,23 +12,23 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Checkout code
15
- uses : actions/checkout@v3
15
+ uses : actions/checkout@v4
16
16
with :
17
17
fetch-depth : 0
18
18
- name : Get tag
19
19
run : echo "tag=$(git describe --tags --match 'v*')" >> $GITHUB_ENV
20
20
- name : Set up QEMU
21
- uses : docker/setup-qemu-action@v2
21
+ uses : docker/setup-qemu-action@v3
22
22
- name : Set up Docker Buildx
23
- uses : docker/setup-buildx-action@v2
23
+ uses : docker/setup-buildx-action@v3
24
24
- name : Login to GitHub Container Registry
25
- uses : docker/login-action@v2
25
+ uses : docker/login-action@v3
26
26
with :
27
27
registry : ghcr.io
28
28
username : ${{ github.actor }}
29
29
password : ${{ secrets.GITHUB_TOKEN }}
30
30
- name : Build and push image
31
- uses : docker/build-push-action@v4
31
+ uses : docker/build-push-action@v6
32
32
with :
33
33
context : .
34
34
platforms : linux/amd64,linux/arm64
You can’t perform that action at this time.
0 commit comments