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

27 lines
388 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:
2021-03-21 16:13:51 +01:00
env:
GO111MODULE: auto
2021-03-18 23:41:25 +01:00
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-04-17 11:09:04 +02:00
run: go build -o apg -v .
2021-03-18 23:41:25 +01:00
- name: Test
2021-04-17 11:09:04 +02:00
run: go test -v .