Skip to content

Commit

Permalink
ci: Upgrade actions and linter (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitpokhrel committed Mar 18, 2023
1 parent 6982b0a commit eef7ae9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -13,12 +13,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: '^1.19.4'
go-version: '^1.20.2'

- name: Install dependencies
run: make deps
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -44,12 +44,12 @@ install:
lint:
@if ! command -v golangci-lint > /dev/null 2>&1; then \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
sh -s -- -b "$$(go env GOPATH)/bin" v1.50.1 ; \
sh -s -- -b "$$(go env GOPATH)/bin" v1.51.2 ; \
fi
golangci-lint run ./...

test:
@go clean -testcache ./...
@go clean -testcache
CGO_ENABLED=1 go test -race ./...

ci: lint test
Expand Down

0 comments on commit eef7ae9

Please sign in to comment.