Fix godoc comment variable name (#2698) #3086
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: Exercise tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Go ${{ matrix.go-version }} - ${{ matrix.os }}/${{ matrix.test-arch }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: [1.20.x] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
test-arch: [amd64] | |
race: ["-race"] | |
include: | |
- go-version: 1.20.x | |
test-arch: "386" | |
os: ubuntu-latest | |
race: "" | |
- go-version: 1.20.x | |
test-arch: "386" | |
os: windows-latest | |
race: "" | |
steps: | |
- run: git config --global core.autocrlf false | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 | |
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Lint and Test exercises | |
shell: bash | |
env: | |
GOARCH: ${{ matrix.test-arch }} | |
run: | | |
./bin/fetch-golangci-lint | |
./bin/run-tests |