Skip to content

build(deps): Bump the all-go-mod group across 1 directory with 3 updates #147

build(deps): Bump the all-go-mod group across 1 directory with 3 updates

build(deps): Bump the all-go-mod group across 1 directory with 3 updates #147

Workflow file for this run

name: pr
on: [ pull_request ]
permissions:
contents: read
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
# 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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c
with:
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004
go-version: '^1.21'
check-latest: true
- run: go version
- run: go test -race ./...
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c
with:
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004
go-version: '^1.21'
check-latest: true
- run: go version
- run: go vet ./github ./google ./zalando
- run: go test ./...
- run: go install honnef.co/go/tools/cmd/staticcheck@latest
- run: staticcheck -checks "all" ./github ./google ./zalando