Skip to content

Commit eef7ae9

Browse files
authored
ci: Upgrade actions and linter (#590)
1 parent 6982b0a commit eef7ae9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717

1818
- name: Setup Go
19-
uses: actions/setup-go@v2
19+
uses: actions/setup-go@v4
2020
with:
21-
go-version: '^1.19.4'
21+
go-version: '^1.20.2'
2222

2323
- name: Install dependencies
2424
run: make deps

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ install:
4444
lint:
4545
@if ! command -v golangci-lint > /dev/null 2>&1; then \
4646
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
47-
sh -s -- -b "$$(go env GOPATH)/bin" v1.50.1 ; \
47+
sh -s -- -b "$$(go env GOPATH)/bin" v1.51.2 ; \
4848
fi
4949
golangci-lint run ./...
5050

5151
test:
52-
@go clean -testcache ./...
52+
@go clean -testcache
5353
CGO_ENABLED=1 go test -race ./...
5454

5555
ci: lint test

0 commit comments

Comments
 (0)