Skip to content

Bump golang.org/x/oauth2 from 0.20.0 to 0.23.0 #150

Bump golang.org/x/oauth2 from 0.20.0 to 0.23.0

Bump golang.org/x/oauth2 from 0.20.0 to 0.23.0 #150

Workflow file for this run

name: Checks
on:
pull_request:
jobs:
Golangci-Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: "1.20"
- name: Install dependencies
run: |
go version
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2
- name: Run golangci-lint
run: |
golangci-lint run builder/...
Go-Fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: "1.20"
- name: Run fmt
run: |
gofmt_files=$(gofmt -l builder)
if [[ -n ${gofmt_files} ]]; then
echo 'gofmt needs running on the following files:'
echo "${gofmt_files}"
exit 1
fi
exit 0