Skip to content

Commit 8226bc0

Browse files
author
makoto-toriyama
committed
update ci actions versions
1 parent b38bd91 commit 8226bc0

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/client-js-test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/cache@v2
11+
- uses: actions/checkout@v3
12+
- uses: actions/cache@v3
1313
with:
1414
path: client/js/node_modules
1515
key: ${{ runner.os }}-clinet-js-modules-${{ hashFiles('client/js/yarn.lock') }}
@@ -32,11 +32,11 @@ jobs:
3232
steps:
3333
- uses: actions/checkout@v3
3434

35-
- uses: actions/setup-go@v2
35+
- uses: actions/setup-go@v3
3636
with:
3737
go-version: ${{ env.go-version }}
3838

39-
- uses: actions/cache@v2
39+
- uses: actions/cache@v3
4040
with:
4141
path: client/js/node_modules
4242
key: ${{ runner.os }}-clinet-js-modules-${{ hashFiles('client/js/yarn.lock') }}
@@ -56,7 +56,7 @@ jobs:
5656
5757
pushd client/js
5858
DSPS_BASE_URL="http://localhost:3000/" yarn test:ci
59-
- uses: actions/upload-artifact@v2
59+
- uses: actions/upload-artifact@v3
6060
with:
6161
name: coverage
6262
path: client/js/coverage

.github/workflows/release-tag.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
go-version: 1.19.1
1717
- name: Run GoReleaser
18-
uses: goreleaser/goreleaser-action@v2
18+
uses: goreleaser/goreleaser-action@v3
1919
with:
2020
version: latest
2121
workdir: server
@@ -32,7 +32,7 @@ jobs:
3232
# version=$(echo "${{github.ref}}" | sed 's/^refs\/tags\/v//')
3333
# echo "::set-output name=version::$version"
3434
# - name: Checkout
35-
# uses: actions/checkout@v2
35+
# uses: actions/checkout@v3
3636
# - uses: actions/setup-node@v1
3737
# with:
3838
# node-version: '12.x'

.github/workflows/server-test.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
go-version: 1.19.1
1111

1212
steps:
13-
- uses: actions/checkout@v2
14-
# Note: golangci/golangci-lint-action caches. Should not use actions/cache@v2 otherwise result in so many "File exists"
15-
- uses: actions/setup-go@v2
13+
- uses: actions/checkout@v3
14+
# Note: golangci/golangci-lint-action caches. Should not use actions/cache@v3 otherwise result in so many "File exists"
15+
- uses: actions/setup-go@v3
1616
with:
1717
go-version: ${{ env.go-version }}
1818
- name: generate
@@ -24,7 +24,7 @@ jobs:
2424
- name: golangci-lint
2525
uses: golangci/golangci-lint-action@v3
2626
with:
27-
version: v1.46.2
27+
version: v1.49.0
2828
working-directory: server
2929
skip-pkg-cache: true
3030
- name: Other Lint
@@ -55,14 +55,14 @@ jobs:
5555
--health-retries 10
5656
5757
steps:
58-
- uses: actions/checkout@v2
59-
- uses: actions/cache@v2
58+
- uses: actions/checkout@v3
59+
- uses: actions/cache@v3
6060
with:
6161
path: /go/pkg/mod # Not ~/go/pkg/mod because "container" is active.
6262
key: ${{ runner.os }}-server-gomod-${{ hashFiles('server/go.sum') }}
6363
restore-keys: |
6464
${{ runner.os }}-server-gomod-
65-
- uses: actions/setup-go@v2
65+
- uses: actions/setup-go@v3
6666
with:
6767
go-version: ${{ matrix.go-version }}
6868
- name: Test
@@ -78,7 +78,7 @@ jobs:
7878
run: |
7979
curl -s https://codecov.io/bash > codecov.sh
8080
bash codecov.sh
81-
- uses: actions/upload-artifact@v2
81+
- uses: actions/upload-artifact@v3
8282
with:
8383
name: coverage.html
8484
path: server/coverage.html
@@ -91,13 +91,13 @@ jobs:
9191
go-version: 1.19.1
9292

9393
steps:
94-
- uses: actions/checkout@v2
95-
# Note: golangci/golangci-lint-action caches. Should not use actions/cache@v2 otherwise result in so many "File exists"
96-
- uses: actions/setup-go@v2
94+
- uses: actions/checkout@v3
95+
# Note: golangci/golangci-lint-action caches. Should not use actions/cache@v3 otherwise result in so many "File exists"
96+
- uses: actions/setup-go@v3
9797
with:
9898
go-version: ${{ env.go-version }}
9999
- name: build
100-
uses: goreleaser/goreleaser-action@v2
100+
uses: goreleaser/goreleaser-action@v3
101101
with:
102102
version: latest
103103
workdir: server

0 commit comments

Comments
 (0)