go/.github/workflows/ci.yml
Snider b01b7f4d88 fix: add Codecov token to CI workflow
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-21 09:12:39 +00:00

24 lines
475 B
YAML

name: CI
on:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests with coverage
run: go test -coverprofile=coverage.out ./tests/...
- name: Upload to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage.out
token: ${{ secrets.CODECOV_TOKEN }}