diff --git a/.github/workflows/test_and_lint.yml b/.github/workflows/test_and_lint.yml index 4125b15..bec5791 100644 --- a/.github/workflows/test_and_lint.yml +++ b/.github/workflows/test_and_lint.yml @@ -12,6 +12,9 @@ on: name: Test & Lint +env: + GO111MODULE: on + jobs: test: runs-on: ubuntu-latest @@ -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: @@ -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 ./...