Skip to content

Commit 138dcc9

Browse files
committed
update github workflow action versions (ekristen#20)
* chore: update to actions/checkout@v4 * chore: update to actions/configure-pages@v4 * chore: update to actions/deploy-pages@v4 * chore: actions/setup-go@v5 * chore: update to actions/upload-artifact@v4 * chore: actions/setup-python@v5 * chore: actions/upload-pages-artifact@v3 * chore: update to docker/login-action@v3 * chore: update docker actions * update goreleaser-action to v5
1 parent aa4191c commit 138dcc9

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/docs.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
name: github-pages
2828
url: ${{ steps.deployment.outputs.page_url }}
2929
steps:
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131
- name: setup pages
32-
uses: actions/configure-pages@v3
32+
uses: actions/configure-pages@v4
3333
- name: setup python
34-
uses: actions/setup-python@v4
34+
uses: actions/setup-python@v5
3535
with:
3636
python-version: 3.x
3737
- name: setup cache
@@ -51,10 +51,10 @@ jobs:
5151
run: |
5252
mkdocs build
5353
- name: upload artifact
54-
uses: actions/upload-pages-artifact@v1
54+
uses: actions/upload-pages-artifact@v3
5555
with:
5656
# Upload entire repository
5757
path: public/
5858
- name: deploy to GitHub Pages
5959
id: deployment
60-
uses: actions/deploy-pages@v2
60+
uses: actions/deploy-pages@v4

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,27 @@ jobs:
2020
goreleaser:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
if: github.event_name == 'pull_request'
2525
with:
2626
fetch-depth: 0
2727
ref: ${{ github.event.pull_request.head.ref }}
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
if: github.event_name == 'push'
3030
with:
3131
fetch-depth: 0
3232
- name: setup-go
33-
uses: actions/setup-go@v4
33+
uses: actions/setup-go@v5
3434
with:
3535
go-version: 1.21.x
3636
- name: setup qemu
3737
id: qemu
38-
uses: docker/setup-qemu-action@v2
38+
uses: docker/setup-qemu-action@v3
3939
- name: setup docker buildx
4040
id: buildx
41-
uses: docker/setup-buildx-action@v2
41+
uses: docker/setup-buildx-action@v3
4242
- name: Login to GitHub Container Registry
43-
uses: docker/login-action@v2
43+
uses: docker/login-action@v3
4444
with:
4545
registry: ghcr.io
4646
username: ${{ github.actor }}
@@ -67,7 +67,7 @@ jobs:
6767
run: |
6868
echo "GORELEASER_ARGS=--snapshot --skip-publish" >> $GITHUB_ENV
6969
- name: run goreleaser
70-
uses: goreleaser/goreleaser-action@v4
70+
uses: goreleaser/goreleaser-action@v5
7171
with:
7272
distribution: goreleaser
7373
version: latest
@@ -81,7 +81,7 @@ jobs:
8181
docker images --format "{{.Repository}}:{{.Tag}}" | grep "ekristen/aws-nuke" | xargs -L1 docker push
8282
- name: upload artifacts
8383
if: github.event.pull_request.base.ref == 'main'
84-
uses: actions/upload-artifact@v3
84+
uses: actions/upload-artifact@v4
8585
with:
8686
name: binaries
8787
path: releases/*.tar.gz

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
name: test
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-go@v4
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-go@v5
1313
with:
1414
go-version: 1.21.x
1515
- name: download go mods

0 commit comments

Comments
 (0)