Skip to content

github actions

github actions #2

Workflow file for this run

---
name: Build and Tests
on:
workflow_dispatch:
pull_request:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...