chore: add linter config and CI pipeline #20
@@ -22,7 +22,7 @@ jobs:
|
||||
run: go vet ./...
|
||||
|
||||
- name: Test
|
||||
run: go test -race -timeout 120s ./...
|
||||
run: CGO_ENABLED=1 go test -race -timeout 120s ./...
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -33,6 +33,6 @@ jobs:
|
||||
with:
|
||||
go-version: "1.24"
|
||||
|
||||
- uses: golangci/golangci-lint-action@v6
|
||||
- uses: golangci/golangci-lint-action@v7
|
||||
with:
|
||||
version: v2.11.2
|
||||
|
||||
Reference in New Issue
Block a user