Bump google.golang.org/api from 0.172.0 to 0.176.1 #40
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 | |
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@9bb56186c3b09b4f86b1c65136769dd318469633 | |
# 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@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 | |
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@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 | |
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 |