Skip to content

Commit

Permalink
Use official golangci-lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
syifan committed May 30, 2023
1 parent 9c5d0d5 commit a8eb65a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/regular_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: 'stable'
cache: false

- name: Install golangci-lint
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin

- name: Lint
run: golangci-lint run --timeout=10m ./...
uses: golangci/golangci-lint-action@v3
with:
version: 'latest'
args: --timeout=10m

unit_test:
name: Unit Test
Expand Down

0 comments on commit a8eb65a

Please sign in to comment.