Skip to content

Commit

Permalink
Set CGO_ENABLED=0 for lint CI action
Browse files Browse the repository at this point in the history
To prevent 'failed to load package net' golangci-lint errors,
cf. golangci/golangci-lint#1219
  • Loading branch information
andrejtokarcik committed Oct 27, 2020
1 parent 80eeb39 commit 7774311
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:

lint:
runs-on: ubuntu-latest
env:
CGO_ENABLED: 0

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 7774311

Please sign in to comment.