build(deps): bump google.golang.org/api from 0.194.0 to 0.196.0 #390
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Tests | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup Go Version | |
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV | |
- name: Install Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
id: go | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: | | |
( cd request; go test -race ./... ) | |
( cd core; go test -race ./... ) | |
( cd coremain; go test -race ./... ) | |
test-plugins: | |
name: Test Plugins | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup Go Version | |
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV | |
- name: Install Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
id: go | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: ( cd plugin; go test -race ./... ) | |
test-e2e: | |
name: Test e2e | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Install Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: '~1.21.0' | |
id: go | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: | | |
go install github.com/fatih/faillint@latest | |
( cd test; go test -race ./... ) | |
test-makefile-release: | |
name: Test Makefile.release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Install dependencies | |
run: sudo apt-get install make curl | |
- name: Test Makefile.release | |
run: make GITHUB_ACCESS_TOKEN=x -n release github-push -f Makefile.release | |
- name: Test Makefile.docker | |
run: make VERSION=x DOCKER=x -n release docker-push -f Makefile.docker |