Skip to content

Merge pull request #2 from macabu/dependabot/go_modules/google.golang… #8

Merge pull request #2 from macabu/dependabot/go_modules/google.golang…

Merge pull request #2 from macabu/dependabot/go_modules/google.golang… #8

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: Automated Checks
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Restore cached dependencies
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Fetch dependencies
run: go mod download
- name: Run tests
run: make test