Skip to content

Merge pull request #59 from Octops/dependabot/go_modules/google.golan… #195

Merge pull request #59 from Octops/dependabot/go_modules/google.golan…

Merge pull request #59 from Octops/dependabot/go_modules/google.golan… #195

Workflow file for this run

name: Go
on:
push:
# pull_request:
#branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...