24 lines
434 B
YAML
24 lines
434 B
YAML
|
name: Go
|
||
|
|
||
|
on: push
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
name: Test
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-go@v2
|
||
|
with:
|
||
|
go-version: 1.15
|
||
|
- run: go version
|
||
|
- run: go test -race ./...
|
||
|
lint:
|
||
|
name: Lint
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: golangci/golangci-lint-action@v2
|
||
|
with:
|
||
|
version: v1.32
|