chore(deps): update github/codeql-action action to v4 #4597
This file contains hidden or 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 of the action | |
| name: test | |
| # trigger on pull_request or push events | |
| on: | |
| pull_request: | |
| push: | |
| permissions: | |
| contents: read | |
| # pipeline to execute | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| # for codecov report upload | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: clone | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: install go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
| with: | |
| # use version from go.mod file | |
| go-version-file: "go.mod" | |
| cache: true | |
| check-latest: true | |
| - name: test | |
| run: | | |
| make test | |
| - name: coverage | |
| uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3 | |
| with: | |
| use_oidc: true | |
| files: coverage.out |