Merge pull request #276 from nao1215/dependabot/go_modules/examples/e… #601
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: WindowsUnitTest | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
unit_test: | |
name: Unit test (windows) | |
strategy: | |
matrix: | |
platform: [windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1" | |
check-latest: true | |
- name: Run unit test | |
run: | | |
go mod download | |
go test -race -v ./... |