Files
discord-go-bot/.gitea/workflows/test.yaml
Jannis Heydemann 9efa490ffe
All checks were successful
Bot Unit Tests / test (push) Successful in 10m20s
optimized the tests and go.mod file. Switched to older version for better compatibility
2026-04-01 20:30:40 +02:00

21 lines
420 B
YAML

name: Bot Unit Tests
on:
push:
branches: [ "main", "master", "dev" ]
pull_request:
branches: [ "main", "master" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.25'
check-latest: false
cache: true
- name: Run Tests
run: go test ./... -v