Activated github actions build workflow

This commit is contained in:
Options Vamp
2024-05-14 21:53:09 -04:00
parent 461b8cef7b
commit 5601d953c4

31
.github/workflows/build.yaml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: go mod download
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...