Skip to content

Commit

Permalink
switch to latest linter
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Apr 4, 2023
1 parent d3e5b3b commit 40a776d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-run.yml
Expand Up @@ -22,13 +22,13 @@ jobs:
- name: build and test
run: go test -race -timeout=60s -covermode=atomic -coverprofile=$GITHUB_WORKSPACE/profile.cov ./...

- name: install golangci-lint and goveralls
run: |
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.50.1
go install github.com/mattn/goveralls@latest
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest

- name: run linters
run: $GITHUB_WORKSPACE/golangci-lint run ./...
- name: install goveralls
run: go install github.com/mattn/goveralls@latest

- name: submit coverage
run: |
Expand Down

0 comments on commit 40a776d

Please sign in to comment.