This commit is contained in:
@@ -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 ./...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user