mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-25 02:55:26 +00:00
32 lines
555 B
YAML
32 lines
555 B
YAML
|
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 ./...
|