Skip to content

Commit e44221e

Browse files
authored
Merge pull request #369 from jonathandreyer/ci-upgrade
Upgrade GitHub Actions version for CI, Release & Deploy
2 parents d1728a5 + c49b60b commit e44221e

File tree

3 files changed

+19
-20
lines changed

3 files changed

+19
-20
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: event_name
2727
run: echo ${{ github.event_name }}
2828
- name: checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
with:
3131
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
3232
- id: fileschanged
@@ -56,12 +56,12 @@ jobs:
5656
if: needs.report.outputs.non_docs_changed == 'true'
5757
steps:
5858
- name: checkout
59-
uses: actions/checkout@v3
60-
- uses: actions/setup-go@v3
59+
uses: actions/checkout@v4
60+
- uses: actions/setup-go@v5
6161
with:
6262
go-version: '1.21'
6363
- name: golangci-lint
64-
uses: golangci/golangci-lint-action@v3
64+
uses: golangci/golangci-lint-action@v6
6565
with:
6666
version: latest
6767
- name: Build
@@ -73,12 +73,12 @@ jobs:
7373
- name: Integration Test
7474
run: make integration_test
7575
- name: Set up QEMU
76-
uses: docker/setup-qemu-action@v2
76+
uses: docker/setup-qemu-action@v3
7777
- name: Set up Docker Buildx
78-
uses: docker/setup-buildx-action@v1
78+
uses: docker/setup-buildx-action@v3
7979
- name: Build and push
8080
id: docker_build
81-
uses: docker/build-push-action@v2
81+
uses: docker/build-push-action@v6
8282
with:
8383
push: false
8484
platforms: linux/amd64,linux/arm64

.github/workflows/deploy.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,22 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
- name: Set up QEMU
29-
uses: docker/setup-qemu-action@v2
29+
uses: docker/setup-qemu-action@v3
3030
- name: Set up Docker Buildx
31-
uses: docker/setup-buildx-action@v2
31+
uses: docker/setup-buildx-action@v3
3232
- name: Login to DockerHub
33-
uses: docker/login-action@v2
33+
uses: docker/login-action@v3
3434
with:
3535
username: ${{ secrets.DOCKER_USERNAME }}
3636
password: ${{ secrets.DOCKER_PASSWORD }}
3737
- name: Build and push
3838
id: docker_build
39-
uses: docker/build-push-action@v2
39+
uses: docker/build-push-action@v6
4040
with:
4141
push: true
4242
platforms: linux/amd64,linux/arm64
4343
tags: |
4444
${{env.IMAGE_NAME}}:${{github.sha}}
4545
${{env.IMAGE_NAME}}:master
46-

.github/workflows/release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
- name: Set up Go
26-
uses: actions/setup-go@v1
26+
uses: actions/setup-go@v5
2727
with:
2828
go-version: 1.21
2929
- name: Build for all platforms
3030
run: |
3131
make build-all
3232
- name: Release
33-
uses: softprops/action-gh-release@v1
33+
uses: softprops/action-gh-release@v2
3434
with:
3535
files: |
3636
dist/*
3737
- name: Set up QEMU
38-
uses: docker/setup-qemu-action@v2
38+
uses: docker/setup-qemu-action@v3
3939
- name: Set up Docker Buildx
40-
uses: docker/setup-buildx-action@v2
40+
uses: docker/setup-buildx-action@v3
4141
- name: Login to DockerHub
42-
uses: docker/login-action@v2
42+
uses: docker/login-action@v3
4343
with:
4444
username: ${{ secrets.DOCKER_USERNAME }}
4545
password: ${{ secrets.DOCKER_PASSWORD }}
@@ -58,7 +58,7 @@ jobs:
5858
type=semver,pattern={{major}}.{{minor}}.{{patch}},value=latest
5959
- name: Build and push semver tag
6060
id: docker_build_push_semver
61-
uses: docker/build-push-action@v2
61+
uses: docker/build-push-action@v6
6262
with:
6363
push: true
6464
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)