Skip to content

Specify Go 1.21 as the minimum version (#32) #83

Specify Go 1.21 as the minimum version (#32)

Specify Go 1.21 as the minimum version (#32) #83

# This workflow runs go build and test for each
# push and pull request to the main branch.
name: Build and Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...