timetable-mgr/.gitea/workflows/go-test.yaml

23 lines
370 B
YAML
Raw Normal View History

2024-04-05 21:47:16 +01:00
name: Go Test
on:
push:
jobs:
test:
2024-04-05 22:15:18 +01:00
env:
RUNNER_TOOL_CACHE: /toolcache
2024-04-05 21:47:16 +01:00
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
2024-04-05 22:23:42 +01:00
go-version-file: ./go.mod
cache: true
2024-04-05 21:47:16 +01:00
- name: Run tests
2024-04-05 22:23:42 +01:00
run: go test ./...