Skip to content

Bump google.golang.org/api from 0.157.0 to 0.170.0 #415

Bump google.golang.org/api from 0.157.0 to 0.170.0

Bump google.golang.org/api from 0.157.0 to 0.170.0 #415

Workflow file for this run

name: Test
on: [push]
env:
GO111MODULE: "on"
jobs:
build:
name: Build, Test
runs-on: ubuntu-latest
services:
pubsub:
image: knarz/pubsub-emulator
ports:
- 8085:8085
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go 1.19
uses: actions/setup-go@v5
with:
go-version: 1.19
id: go
- name: Restore Cache
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Download Modules
if: steps.cache.outputs.cache-hit != 'true'
run: go mod download
- name: Test
run: go test -v -race -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.out
fail_ci_if_error: true