cast/.github/workflows/go.yml

29 lines
504 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:
2022-05-11 11:21:43 +03:00
go-version: [1.17.x, 1.18.x]
2021-07-27 14:32:42 +03:00
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 ./...