Skip to content

go-test

go-test #1255

Workflow file for this run

name: go-test
on:
push:
branches:
- master
pull_request:
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- '.github/workflows/test.yaml'
workflow_dispatch:
schedule:
- cron: '0 0,12 * * *' # Run every 12 hours to catch upstream changes
permissions:
contents: read
jobs:
test:
runs-on:
- self-hosted-ghr
- size-m-x64
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/workflows/go-setup
- uses: ./.github/workflows/kurtosis-install
- run: go test -v -race -coverprofile=coverage.txt ./...
- uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}