Run tests on PR (#57)

* run tests on PR

* fix tests+lint

* update linter config
This commit is contained in:
sashabaranov
2023-01-28 22:32:23 +04:00
committed by GitHub
parent 794a5512f6
commit b6e0908977
3 changed files with 8 additions and 12 deletions

View File

@@ -11,7 +11,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.18'
go-version: '1.19'
- name: Run vet
run: |
go vet .
@@ -19,6 +19,5 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: latest
# # Run testing on the code
# - name: Run testing
# run: cd test && go test -v
- name: Run tests
run: go test -v .