Files
go-openai/.github/workflows/pr.yml
2022-07-01 21:09:54 +06:00

26 lines
504 B
YAML

name: PR sanity check
on: pull_request
jobs:
prcheck:
name: PR sanity check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.18'
- name: Run vet & lint
run: |
go vet .
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
# # Run testing on the code
# - name: Run testing
# run: cd test && go test -v