Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Bump google.golang.org/api from 0.124.0 to 0.142.0 #521

Bump google.golang.org/api from 0.124.0 to 0.142.0

Bump google.golang.org/api from 0.124.0 to 0.142.0 #521

Workflow file for this run

name: Static Code Analysis
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint-code:
name: Code Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
# This action takes care of caching/restoring modules and build caches.
# Therefore, this step should remain the first one that is executed after
# the Go setup, in case other steps are added to this job in the future.
- name: Lint Go code
uses: golangci/golangci-lint-action@v3
with:
# (hack) By default, errors are reported to the GitHub commit view only
# (or the "Files changed" tab on PRs). We also want errors to be logged
# with line numbers to the execution logs of the workflow.
#
# The args below result in the following flags being passed to the
# linter command, which works, quite surprisingly:
# --out-format=github-actions --out-format=colored-line-number
#
# Ref. https://github.com/golangci/golangci-lint-action/issues/119#issuecomment-981090648
args: --out-${NO_FUTURE}format=colored-line-number --timeout 15m