Skip to content

Create Github Actions workflows #52

Create Github Actions workflows

Create Github Actions workflows #52

Workflow file for this run

# Workflow to build and run go tests
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...