Skip to content

Update module golang.org/x/oauth2 to v0.34.0 (#320) #677

Update module golang.org/x/oauth2 to v0.34.0 (#320)

Update module golang.org/x/oauth2 to v0.34.0 (#320) #677

Workflow file for this run

name: go
on:
pull_request:
paths:
- .github/workflows/go.yaml
- '**/*.go'
- '**/go.*'
- aqua.yaml
push:
paths:
- .github/workflows/go.yaml
- '**/*.go'
- '**/go.*'
- aqua.yaml
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- id: toolchain
run: echo "version=$(sed -ne '/^toolchain /s/^toolchain go//p' go.mod)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: ${{ steps.toolchain.outputs.version }}
cache-dependency-path: go.sum
- run: make test
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- id: toolchain
run: echo "version=$(sed -ne '/^toolchain /s/^toolchain go//p' go.mod)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: ${{ steps.toolchain.outputs.version }}
cache-dependency-path: |
go.sum
tools/go.sum
- run: make lint
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- id: toolchain
run: echo "version=$(sed -ne '/^toolchain /s/^toolchain go//p' go.mod)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: ${{ steps.toolchain.outputs.version }}
cache-dependency-path: go.sum
- run: go mod tidy
- uses: int128/update-generated-files-action@d9aac571db84cee6c16fa20190621e9deb2bc575 # v2.67.0