Skip to content

updated README.md

updated README.md #8

Workflow file for this run

name: unit tests
on:
push:
branches:
- main
pull_request:
jobs:
tests:
strategy:
matrix:
go-version: [ 1.18.x, 1.19.x, 1.20.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Restore Cache
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-v1-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-v1-go-
- name: Test
run: go test .