apg-go/.github/workflows/go.yml

25 lines
356 B
YAML
Raw Normal View History

2021-03-18 23:41:25 +01:00
name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Build
2021-03-20 19:16:27 +01:00
run: go build -v ./...
2021-03-18 23:41:25 +01:00
- name: Test
2021-03-20 19:16:27 +01:00
run: go test -v ./...