cast/.github/workflows/go.yml

29 lines
496 B
YAML
Raw Normal View History

2021-07-27 14:23:44 +03:00
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
2021-07-27 14:32:42 +03:00
strategy:
matrix:
go-version: [1.16.x]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
2021-07-27 14:23:44 +03:00
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
2021-07-27 14:32:42 +03:00
go-version: ${{ matrix.go-version }}
2021-07-27 14:23:44 +03:00
- name: Build
run: go build -v ./...
- name: Test
run: go test -race -v ./...