chore(deps): update github/codeql-action digest to ea9e4e3 in .github… #134
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and coverage | |
on: | |
pull_request: | |
paths-ignore: | |
- "**/*.md" | |
- "LICENSE" | |
push: | |
paths-ignore: | |
- "**/*.md" | |
- "LICENSE" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5 | |
with: | |
go-version: '1.20.x' | |
- name: Run coverage | |
run: go test -race -coverprofile=coverage.txt -covermode=atomic | |
- name: Upload coverage to Codecov | |
run: bash <(curl -s https://codecov.io/bash) |