Skip to content

Merge pull request #4 from macabu/dependabot/go_modules/golang.org/x/… #10

Merge pull request #4 from macabu/dependabot/go_modules/golang.org/x/…

Merge pull request #4 from macabu/dependabot/go_modules/golang.org/x/… #10

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