Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Merge pull request #43 from abhinav/workflow #1

Merge pull request #43 from abhinav/workflow

Merge pull request #43 from abhinav/workflow #1

Workflow file for this run

name: Go
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.16.x", "1.17.x"]
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Load cached dependencies
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Test
run: go test -v -race ./...