violet/.github/workflows/test.yml

17 lines
386 B
YAML
Raw Normal View History

2023-04-24 15:41:27 +01:00
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
2023-04-24 15:42:42 +01:00
- run: go build ./cmd/violet/
2023-04-24 15:41:27 +01:00
- run: go test ./...