HellPot/.github/workflows/go.yml

26 lines
379 B
YAML
Raw Normal View History

2021-09-18 12:33:22 +00:00
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
2021-10-17 17:09:28 +00:00
- uses: actions/checkout@v2
2021-09-18 12:33:22 +00:00
2021-10-17 17:09:28 +00:00
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
2021-09-18 12:33:22 +00:00
2021-10-17 17:09:28 +00:00
- name: Build
run: go build -v ./...
2021-09-18 12:33:22 +00:00
2021-10-17 17:09:28 +00:00
- name: Test
run: go test -v ./...