Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

Commit 2951f8f

Browse files
committed
update actions to v3
1 parent 844eb35 commit 2951f8f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222
- name: Run Check License
2323
run: hack/make-rules/check_license.sh
2424

@@ -28,17 +28,17 @@ jobs:
2828
- name: Checkout
2929
uses: actions/setup-go@v3
3030
with:
31-
submodules: true
31+
submodules:
3232
- name: Setup Go
3333
uses: actions/checkout@v3
3434
with:
3535
go-version: ${{ env.GO_VERSION }}
36+
cache: false
3637
- name: Lint golang code
3738
uses: golangci/golangci-lint-action@v3
3839
with:
3940
version: ${{ env.GOLANGCI_VERSION }}
40-
args: --timeout=15m
41-
41+
args: --disable-all -E deadcode -E gofmt -E goimports -E ineffassign -E misspell -E vet --timeout=15m
4242
markdownlint-misspell-shellcheck:
4343
runs-on: ubuntu-latest
4444
# this image is build from Dockerfile
@@ -54,17 +54,17 @@ jobs:
5454
build-and-test:
5555
runs-on: ubuntu-latest
5656
steps:
57-
- uses: actions/checkout@v2
57+
- uses: actions/checkout@v3
5858
with:
5959
submodules: true
6060
- name: Fetch History
6161
run: git fetch --prune --unshallow
6262
- name: Setup Go
63-
uses: actions/setup-go@v2
63+
uses: actions/setup-go@v3
6464
with:
6565
go-version: ${{ env.GO_VERSION }}
6666
- name: Cache Go Dependencies
67-
uses: actions/cache@v2
67+
uses: actions/cache@v3
6868
with:
6969
path: ~/go/pkg/mod
7070
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -74,7 +74,7 @@ jobs:
7474
- name: Run test
7575
run: make test
7676
- name: Upload test coverage
77-
uses: codecov/codecov-action@v2
77+
uses: codecov/codecov-action@v3
7878
with:
7979
token: ${{ secrets.CODECOV_TOKEN }}
8080
files: cover.out

0 commit comments

Comments
 (0)