Cloak/.github/workflows/build.yml

18 lines
520 B
YAML
Raw Normal View History

2020-12-19 19:17:18 +00:00
name: Build and test
on: [ push ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
2021-09-02 16:49:07 +00:00
go-version: '^1.17' # The Go version to download (if necessary) and use.
2020-12-19 19:21:36 +00:00
- run: go test -race -coverprofile coverage.txt -coverpkg ./... -covermode atomic ./...
2020-12-19 19:17:18 +00:00
- uses: codecov/codecov-action@v1
with:
file: coverage.txt