This commit is contained in:
Mario Candela
2022-05-08 20:57:20 +02:00
committed by GitHub
parent ea0ff6e38c
commit d33dfda826

28
.github/workflows/go.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.16
- name: Dependences
run: go mod download
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...