Skip to content

update go.mod

update go.mod #207

Workflow file for this run

name: Tests
# Run this workflow on pushes and manually
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v2
# cache/restore go mod
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@v2
with:
go-version: 1.18.1
- name: Build
run: go build
- name: Test
run: make test