changelog/.gitea/workflows/test-pr.yml
techknowlogick a632296831
All checks were successful
goreleaser
actions: test pull requests (#72)
Reviewed-on: #72
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-committed-by: techknowlogick <techknowlogick@gitea.io>
2023-03-17 04:50:35 +08:00

20 lines
390 B
YAML

name: check-and-test
on: [pull_request]
jobs:
check-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '>=1.20.1'
- name: check-and-test
run: |
go test -race ./...
go build
make lint
env:
GOPROXY: https://goproxy.io,direct