Skip to content

Bump codecov/codecov-action from 5 to 6 in the action-updates group #97

Bump codecov/codecov-action from 5 to 6 in the action-updates group

Bump codecov/codecov-action from 5 to 6 in the action-updates group #97

Workflow file for this run

name: build
permissions:
id-token: write
on: [workflow_dispatch, push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.23', '1.24', '1.25', '1.26']
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
- run: rm bench_test.go # >= 1.24
- run: go test -coverprofile=coverage.out
- uses: codecov/codecov-action@v6
with:
use_oidc: true
bench:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- run: go test -bench=.