Skip to content

Commit 83f1da0

Browse files
authored
Merge pull request #60 from cybozu-go/update-actions
update actions
2 parents c0e6ab7 + 8edc9dd commit 83f1da0

File tree

4 files changed

+31
-31
lines changed

4 files changed

+31
-31
lines changed

.github/workflows/ci.yaml

+17-17
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
name: Build binaries
1010
runs-on: ubuntu-22.04
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-go@v3
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-go@v5
1414
with:
1515
go-version-file: go.mod
1616
cache: true
@@ -22,22 +22,22 @@ jobs:
2222
name: Check goreleaser.yml
2323
runs-on: ubuntu-22.04
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
- name: Setup go
27-
uses: actions/setup-go@v3
27+
uses: actions/setup-go@v5
2828
with:
2929
go-version-file: go.mod
3030
cache: true
31-
- uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0
31+
- uses: goreleaser/goreleaser-action@v6
3232
with:
3333
version: latest
3434
args: check -f .goreleaser.yml
3535
test:
3636
name: Small tests
3737
runs-on: ubuntu-22.04
3838
steps:
39-
- uses: actions/checkout@v3
40-
- uses: actions/setup-go@v3
39+
- uses: actions/checkout@v4
40+
- uses: actions/setup-go@v5
4141
with:
4242
go-version-file: go.mod
4343
cache: true
@@ -57,8 +57,8 @@ jobs:
5757
- v1.30.4 # renovate: kindest/node
5858
runs-on: ubuntu-22.04
5959
steps:
60-
- uses: actions/checkout@v3
61-
- uses: actions/setup-go@v3
60+
- uses: actions/checkout@v4
61+
- uses: actions/setup-go@v5
6262
with:
6363
go-version-file: go.mod
6464
cache: true
@@ -72,7 +72,7 @@ jobs:
7272
- run: make logs
7373
working-directory: e2e
7474
if: always()
75-
- uses: actions/upload-artifact@v3
75+
- uses: actions/upload-artifact@v4
7676
if: always()
7777
with:
7878
name: logs-${{ matrix.k8s-version }}.tar.gz
@@ -81,8 +81,8 @@ jobs:
8181
name: Run tilt ci
8282
runs-on: ubuntu-22.04
8383
steps:
84-
- uses: actions/checkout@v3
85-
- uses: actions/setup-go@v3
84+
- uses: actions/checkout@v4
85+
- uses: actions/setup-go@v5
8686
with:
8787
go-version-file: go.mod
8888
cache: true
@@ -96,13 +96,13 @@ jobs:
9696
runs-on: ubuntu-22.04
9797
steps:
9898
- name: Checkout
99-
uses: actions/checkout@v3
99+
uses: actions/checkout@v4
100100
with:
101101
fetch-depth: 0
102-
- uses: docker/setup-qemu-action@v1
103-
- uses: docker/setup-buildx-action@v1
102+
- uses: docker/setup-qemu-action@v3
103+
- uses: docker/setup-buildx-action@v3
104104
- name: Setup go
105-
uses: actions/setup-go@v3
105+
uses: actions/setup-go@v5
106106
with:
107107
go-version-file: go.mod
108108
cache: true
@@ -113,7 +113,7 @@ jobs:
113113
run: |
114114
echo "GORELEASER_CURRENT_TAG=$(git describe --tags --abbrev=0 --match "v*" || echo v0.0.0)" >> $GITHUB_ENV
115115
- name: GoReleaser
116-
uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0
116+
uses: goreleaser/goreleaser-action@v6
117117
with:
118118
version: latest
119119
args: --snapshot --skip=publish --clean

.github/workflows/mdbook.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
name: Build book
1010
runs-on: ubuntu-22.04
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- uses: ./.github/actions/aqua
1414
with:
1515
github_token: ${{ secrets.GITHUB_TOKEN }}
1616
- run: make book
17-
- uses: actions/upload-artifact@v3
17+
- uses: actions/upload-artifact@v4
1818
with:
1919
name: book
2020
path: docs/book
@@ -24,12 +24,12 @@ jobs:
2424
runs-on: ubuntu-22.04
2525
needs: build
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
with:
2929
ref: gh-pages
3030
# ignore helm chart index file and chart archive file.
3131
- run: ls | grep -v -E 'index.yaml|.*\.tgz' | xargs rm -rf
32-
- uses: actions/download-artifact@v3
32+
- uses: actions/download-artifact@v4
3333
with:
3434
name: book
3535
- run: git add .

.github/workflows/release.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ jobs:
88
runs-on: ubuntu-22.04
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
14-
- uses: docker/setup-qemu-action@v1
15-
- uses: docker/setup-buildx-action@v1
14+
- uses: docker/setup-qemu-action@v3
15+
- uses: docker/setup-buildx-action@v3
1616
- name: GHCR Login
17-
uses: docker/login-action@v1
17+
uses: docker/login-action@v3
1818
with:
1919
registry: ghcr.io
2020
username: ${{ github.repository_owner }}
2121
password: ${{ secrets.GITHUB_TOKEN }}
2222
- name: Setup go
23-
uses: actions/setup-go@v3
23+
uses: actions/setup-go@v5
2424
with:
2525
go-version-file: go.mod
2626
cache: true
@@ -32,7 +32,7 @@ jobs:
3232
export TAG=$(curl -s "https://api.github.com/repos/cybozu-go/cattage/releases/latest" | jq -r .tag_name)
3333
echo "GORELEASER_PREVIOUS_TAG=${TAG}" >> $GITHUB_ENV
3434
- name: GoReleaser
35-
uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0
35+
uses: goreleaser/goreleaser-action@v6
3636
with:
3737
version: latest
3838
args: release --clean
@@ -44,11 +44,11 @@ jobs:
4444
if: contains(needs.release.result, 'success')
4545
steps:
4646
- name: Checkout
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v4
4848
with:
4949
fetch-depth: 0
5050
- name: Install Helm
51-
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
51+
uses: azure/setup-helm@v4
5252
- name: Set chart version
5353
run: |
5454
helm repo add cattage https://cybozu-go.github.io/cattage

.github/workflows/renovate.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v3
10+
uses: actions/checkout@v4
1111
- name: Self-hosted Renovate
12-
uses: renovatebot/github-action@2a87d1192eaa0cac92b6566233afedf68fd3472a # renovate v38.1.8
12+
uses: renovatebot/github-action@a1ed1d0adddfdf138192d1fbe3150a80094dee6a # renovate v40.3.1
1313
with:
1414
configurationFile: renovate.json
1515
token: ${{ secrets.RENOVATE_TOKEN }}

0 commit comments

Comments
 (0)