yggdrasil-go/.github/workflows/ci.yml

32 lines
555 B
YAML
Raw Normal View History

2022-04-17 16:24:34 +00:00
name: Yggdrasil
on:
push:
branches: [ master develop ]
pull_request:
branches: [ master develop ]
release:
jobs:
build-test:
name: Go ${{ matrix.goversion }}
strategy:
matrix:
goversion: ["1.16", "1.17", "1.18"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.goversion }}
- name: Build Yggdrasil
run: go build -v ./...
- name: Unit tests
run: go test -v ./...