build(deps): bump actions/checkout from 4.1.6 to 4.1.7 #3310
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: 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.21.x] | |
os: [ubuntu-22.04, windows-2022, macOS-latest] | |
test-arch: [amd64] | |
race: ["-race"] | |
include: | |
- go-version: 1.21.x | |
test-arch: "386" | |
os: ubuntu-22.04 | |
race: "" | |
- go-version: 1.21.x | |
test-arch: "386" | |
os: windows-2022 | |
race: "" | |
steps: | |
- run: git config --global core.autocrlf false | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 | |
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 |