mirror of
https://github.com/luxfi/netrunner.git
synced 2026-07-27 00:04:23 +00:00
fix: update CI for golangci-lint v2 and CGO-free builds
- Update golangci-lint from v1.49 to v2.1.6 in lint.sh - Add GOWORK=off to workflow env for workspace isolation - Add CGO_ENABLED=0 to unit tests (avoids luxfi/accel C headers) - Update GitHub Actions: checkout v4, setup-go v5, upload-artifact v4 - Update OS matrix: ubuntu-22.04, macos-14 - Run go mod tidy for updated checksums
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ fi
|
||||
TESTS=${TESTS:-"golangci_lint"}
|
||||
|
||||
function test_golangci_lint {
|
||||
go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.49.0
|
||||
go install -v github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6
|
||||
golangci-lint run --config .golangci.yml
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user