xkcd/.github/workflows/test.yml
2023-06-01 21:24:08 +02:00

19 lines
299 B
YAML

name: Test
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.20.x
- uses: actions/checkout@v3
- run: go test --race ./...