go-pkg/.github/workflows/go.yml

26 lines
475 B
YAML
Raw Normal View History

2023-07-12 12:53:32 -06:00
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
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:
2023-09-27 11:11:06 -06:00
go-version: 1.21.1
2023-07-12 12:53:32 -06:00
- name: Test
run: go test -v ./...