doc: added how to import in README.md #173
Workflow file for this run
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: Go CI | |
on: | |
push: | |
branches: [ '*', '*/*' ] | |
jobs: | |
build: | |
name: Test for Go ${{ matrix.gover }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
gover: ['~1.18', '~1.19', '~1.20'] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.gover }} | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v -cover ./... |