build(deps): bump alpine from 1e42bbe
to 5cc1526
in /packaging
#5024
Workflow file for this run
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: pr | |
on: [ pull_request ] | |
permissions: | |
contents: read | |
env: | |
TESTCONTAINERS_RYUK_DISABLED: true | |
jobs: | |
semgrep: | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
runs-on: ubuntu-latest | |
container: | |
image: returntocorp/semgrep | |
steps: | |
# Retrieve the source code for the repository | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
# Fetch the semgrep rules | |
- run: git clone https://github.com/dgryski/semgrep-go.git | |
# Run the rule checker using the fetched rules | |
- run: semgrep ci -f semgrep-go | |
check-race: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
with: | |
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
go-version: "^1.21" | |
check-latest: true | |
- run: go version | |
- run: make deps | |
- run: make check-race | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
with: | |
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
go-version: "^1.21" | |
check-latest: true | |
- run: go version | |
- run: make deps | |
- run: make check-fmt | |
- run: make vet | |
- run: make staticcheck | |
- run: make shortcheck |