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

26 lines
368 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-18 23:52:08 +01:00
run: go build -v ./apg.go
2021-03-18 23:41:25 +01:00
- name: Test
2021-03-18 23:52:08 +01:00
run: go test -v ./apg_test.go