Skip to content

Commit

Permalink
chore:Fix lint & test (#120)
Browse files Browse the repository at this point in the history
* chore: fix test & lint

* chore: fix test & lint

* chore: fix test & lint

* chore: fix test & lint
  • Loading branch information
Redmomn authored Nov 12, 2024
1 parent 767330e commit 45d66e3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test_and_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:

name: Test & Lint

env:
GO111MODULE: on

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -25,8 +28,6 @@ jobs:
go-version: '^1.23'
cache: false
- run: go get
- run: go install golang.org/x/tools/cmd/stringer
- run: go generate ./...
- run: go test -v -race ./...

lint:
Expand All @@ -41,8 +42,6 @@ jobs:
go-version: '^1.23'
cache: false
- run: go get
- run: go install golang.org/x/tools/cmd/stringer
- run: go generate ./...

- name: Go vet
run: go vet ./...
Expand Down

0 comments on commit 45d66e3

Please sign in to comment.