Skip to content

Bump golang.org/x/oauth2 from 0.0.0-20200902213428-5d25da1a8d43 to 0.27.0 #1

Bump golang.org/x/oauth2 from 0.0.0-20200902213428-5d25da1a8d43 to 0.27.0

Bump golang.org/x/oauth2 from 0.0.0-20200902213428-5d25da1a8d43 to 0.27.0 #1

Workflow file for this run

name: Go
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Check format
run: |
files=$(gofmt -l `find . -name '*.go'`)
if [[ -n ${files} ]]; then
>&2 echo "Go fmt check failed on the following files:"
>&2 echo ""
>&2 echo "${files}"
>&2 echo ""
>&2 echo "Please run \`gofmt -w .\` to reformat code."
exit 1
fi
- name: Generate
run: |
go generate ./...
files=$(git status --porcelain)
if [[ -n ${files} ]]; then
>&2 echo "Go generate resulted in changed files:"
>&2 echo ""
>&2 echo "${files}"
>&2 echo ""
>&2 echo "Please run \`go generate ./...\` to regenerate code."
exit 1
fi
- name: Build
run: go build ./...
- name: Test
if: github.ref == 'refs/heads/master'
run: go test ./... -coverprofile=c.out
env:
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }}
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}
AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_CLIENT_SECRET }}
- name: Send code coverage report
if: github.ref == 'refs/heads/master'
uses: aktions/[email protected]
with:
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
codeclimate-test-reporter-version: latest
command: after-build --prefix gopkg.in/auth0.v5