name: Test

on:
  push:
  pull_request:
  workflow_dispatch:

env:
  GOPRIVATE: git.sr.ht

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up Go
        uses: actions/setup-go@v4
        with:
          go-version: '1.21'
      - name: Test
        run: go test -v ./...