Skip to content

Commit

Permalink
Temporarily disable lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellLuo committed Mar 20, 2022
1 parent 9a71a15 commit 5688d02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: [push,pull_request]
jobs:
lint:
name: Lint
if: false # Temporarily disable lint, see https://github.com/golangci/golangci-lint/issues/2649
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.18
Expand All @@ -15,7 +16,7 @@ jobs:
uses: actions/checkout@v1

- name: Intsall GolangCI-Lint
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b . latest
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b . v1.45.0

- name: Run lint
run: ./golangci-lint run ./... --skip-dirs benchmarks
Expand All @@ -40,4 +41,4 @@ jobs:
run: go get -v -t -d ./...

- name: Run tests
run: go test -v -race ./...
run: go test -v -race ./...

0 comments on commit 5688d02

Please sign in to comment.