Skip to content

Bump github/codeql-action from 3.27.6 to 3.27.9 #258

Bump github/codeql-action from 3.27.6 to 3.27.9

Bump github/codeql-action from 3.27.6 to 3.27.9 #258

Workflow file for this run

name: "Code Coverage"
on:
workflow_call:
secrets:
CODECOV_TOKEN:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # pin@v5
with:
go-version: '1.23'
check-latest: true
- name: Run test coverage
run: |
if make -n coverage &>/dev/null; then
echo "Running coverage through make"
make coverage
else
echo "No Makefile coverage target, using default behavior"
go test -coverprofile=coverage.out ./...
fi
- uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # pin@v4
with:
files: coverage.out
token: ${{ secrets.CODECOV_TOKEN }}