Skip to content

Commit 9b73243

Browse files
committed
ci: Update deprecated action versions
1 parent 0f9f2bf commit 9b73243

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.github/workflows/docker_image.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
VERSION: "${{ github.event_name == 'release' && github.event.release.name || github.ref_name }}"
2424

2525
steps:
26-
- uses: actions/checkout@v3
27-
- uses: docker/setup-qemu-action@v2
28-
- uses: docker/setup-buildx-action@v2
29-
- uses: docker/login-action@v2
26+
- uses: actions/checkout@v4
27+
- uses: docker/setup-qemu-action@v3
28+
- uses: docker/setup-buildx-action@v3
29+
- uses: docker/login-action@v3
3030
id: login
3131
env:
3232
token_is_present: "${{ secrets.DOCKERHUB_TOKEN && true }}"
@@ -36,7 +36,7 @@ jobs:
3636
password: ${{ secrets.DOCKERHUB_TOKEN }}
3737

3838
- id: meta
39-
uses: docker/metadata-action@v4
39+
uses: docker/metadata-action@v5
4040
with:
4141
images: flyio/litefs
4242
tags: |
@@ -47,7 +47,7 @@ jobs:
4747
type=semver,pattern={{version}}
4848
type=semver,pattern={{major}}.{{minor}}
4949
50-
- uses: docker/build-push-action@v4
50+
- uses: docker/build-push-action@v6
5151
with:
5252
context: .
5353
push: ${{ steps.login.outcome != 'skipped' }}

.github/workflows/push.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
name: "Build"
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

19-
- uses: actions/setup-go@v4
19+
- uses: actions/setup-go@v5
2020
with:
2121
go-version-file: 'go.mod'
2222

@@ -34,9 +34,9 @@ jobs:
3434
matrix:
3535
journal_mode: [delete, persist, truncate, wal]
3636
steps:
37-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v4
3838

39-
- uses: actions/setup-go@v4
39+
- uses: actions/setup-go@v5
4040
with:
4141
go-version-file: 'go.mod'
4242

@@ -71,9 +71,9 @@ jobs:
7171
matrix:
7272
journal_mode: [delete, persist, truncate, wal]
7373
steps:
74-
- uses: actions/checkout@v3
74+
- uses: actions/checkout@v4
7575

76-
- uses: actions/setup-go@v4
76+
- uses: actions/setup-go@v5
7777
with:
7878
go-version-file: 'go.mod'
7979

@@ -94,23 +94,23 @@ jobs:
9494
name: "Staticcheck"
9595
runs-on: ubuntu-latest
9696
steps:
97-
- uses: actions/checkout@v3
97+
- uses: actions/checkout@v4
9898

99-
- uses: actions/setup-go@v4
99+
- uses: actions/setup-go@v5
100100
with:
101101
go-version-file: 'go.mod'
102102

103-
- uses: dominikh/staticcheck-action@v1.2.0
103+
- uses: dominikh/staticcheck-action@v1.3.1
104104
with:
105105
install-go: false
106106

107107
errcheck:
108108
name: "Errcheck"
109109
runs-on: ubuntu-latest
110110
steps:
111-
- uses: actions/checkout@v3
111+
- uses: actions/checkout@v4
112112

113-
- uses: actions/setup-go@v4
113+
- uses: actions/setup-go@v5
114114
with:
115115
go-version-file: 'go.mod'
116116

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
MAIN_VERSION: "${{ github.event_name == 'release' && github.event.release.name || '' }}"
3838

3939
steps:
40-
- uses: actions/checkout@v3
41-
- uses: actions/setup-go@v4
40+
- uses: actions/checkout@v4
41+
- uses: actions/setup-go@v5
4242
with:
4343
go-version-file: 'go.mod'
4444

@@ -62,7 +62,7 @@ jobs:
6262
tar -czvf litefs-${{ env.VERSION }}-${{ env.GOOS }}-${{ env.GOARCH }}${{ env.GOARM }}.tar.gz litefs
6363
6464
- name: Upload binary artifact
65-
uses: actions/upload-artifact@v3
65+
uses: actions/upload-artifact@v4
6666
with:
6767
name: litefs-${{ env.VERSION }}-${{ env.GOOS }}-${{ env.GOARCH }}${{ env.GOARM }}
6868
path: dist/litefs

0 commit comments

Comments
 (0)