Skip to content

Bump golang.org/x/oauth2 from 0.0.0-20190115181402-5dab4167f31c to 0.27.0 in the go_modules group across 1 directory #22

Bump golang.org/x/oauth2 from 0.0.0-20190115181402-5dab4167f31c to 0.27.0 in the go_modules group across 1 directory

Bump golang.org/x/oauth2 from 0.0.0-20190115181402-5dab4167f31c to 0.27.0 in the go_modules group across 1 directory #22

Workflow file for this run

# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: "Build & test"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [ '1.19', '1.18', '1.17', '1.16' ]
os: [ 'ubuntu-22.04', 'macos-12' ]
name: Go ${{ matrix.go }} (${{ matrix.os }})
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build -v ./...
- name: Install dependencies for testing
run: go install github.com/golang/mock/mockgen@v1.6.0
- name: Generate mocks for testing
run: go generate ./...
- name: Run tests
run: make test VERBOSE=1