Files
snice/.gittea/workflows/go.yml
2023-10-25 18:29:20 +13:00

30 lines
463 B
YAML

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.21' ]
name: Go ${{ matrix.go }} test
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build -v ./...
# - name: Test
# run: go test -v ./...