chore: update dependencies in README #314
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
# testing should occur on push or merge to master branch | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
jobs: | |
test: | |
strategy: | |
matrix: | |
# run the tests with the following version of Go | |
go-version: [1.18.x, 1.19.x, 1.20.x] | |
# run the tests on the following operating systems | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
# install Go and check it out to | |
# the container for running the tests | |
- name: Install go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
# run the tests from the following project path | |
- name: Test | |
run: go test ./... |