diff --git a/.gitea/workflows/pr.yaml b/.gitea/workflows/pr.yaml index 39c49de..19cb73a 100644 --- a/.gitea/workflows/pr.yaml +++ b/.gitea/workflows/pr.yaml @@ -2,7 +2,17 @@ name: Test and check on: - push jobs: - run-tests: + test-and-check: runs-on: brandon-ubuntu-latest steps: - - run: echo 'Hello gitea actions!' + - uses: actions/checkout@v7 + - uses: actions/setup-go@v7 + with: + go-version-file: go.mod + cache-dependency-path: go.sum + - name: Check SPDX headers + run: go run ./internal/check + - name: Run unit tests + run: go test ./... + +