Skip to content

Commit b19fc0c

Browse files
committed
chore(ci): upgrade all Github actions and tools versions
1 parent dc50ed5 commit b19fc0c

File tree

5 files changed

+13
-16
lines changed

5 files changed

+13
-16
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
go-version: 1.19
2525
- name: Checkout repository
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v3
2727
- name: Run linter
2828
uses: golangci/golangci-lint-action@v3
2929
with:
@@ -52,8 +52,8 @@ jobs:
5252
with:
5353
go-version: ${{ matrix.go }}
5454
- name: Checkout repository
55-
uses: actions/checkout@v2
56-
- uses: actions/cache@v2
55+
uses: actions/checkout@v3
56+
- uses: actions/cache@v3
5757
with:
5858
path: ~/go/pkg/mod
5959
key: ${{ matrix.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -62,6 +62,6 @@ jobs:
6262
- name: Run tests
6363
run: make test
6464
- name: Upload coverage
65-
uses: codecov/codecov-action@v1
65+
uses: codecov/codecov-action@v3
6666
with:
67-
file: coverage.txt
67+
files: coverage.txt

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
1212
with:
1313
fetch-depth: 0
1414
- name: Update new version of plugin in krew-index
15-
uses: rajatjindal/[email protected].40
15+
uses: rajatjindal/[email protected].43

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
1616
- name: Set up Go
17-
uses: actions/setup-go@v2
17+
uses: actions/setup-go@v3
1818
with:
19-
go-version: 1.17
19+
go-version: 1.19
2020
- name: Run GoReleaser
2121
run: make release
2222
env:

.golangci.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ linters:
55
enable:
66
- asciicheck
77
- bodyclose
8-
- deadcode
98
- depguard
109
- dogsled
1110
- dupl
@@ -29,18 +28,16 @@ linters:
2928
- revive
3029
- rowserrcheck
3130
- staticcheck
32-
- structcheck
3331
- stylecheck
3432
- typecheck
3533
- unconvert
3634
- unparam
3735
- unused
38-
- varcheck
3936
- whitespace
4037
linters-settings:
4138
gofmt:
4239
simplify: true
4340
dupl:
4441
threshold: 400
4542
funlen:
46-
lines: 120
43+
lines: 120

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
DISTDIR = dist
22

33
# Utility versions.
4-
GORELEASER_VERSION = "v1.3.1"
5-
GOLANGCI_LINT_VERSION = "v1.43.0"
4+
GORELEASER_VERSION = "v1.11.5"
5+
GOLANGCI_LINT_VERSION = "v1.50.0"
66

77
# Build variables.
88
GIT_TREE_STATE=$(if $(shell git status --porcelain),dirty,clean)

0 commit comments

Comments
 (0)