Merge pull request #107 from vburenin/dependabot/go_modules/golang.or… #105
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| paths-ignore: | |
| - "**/*.md" | |
| pull_request: | |
| paths-ignore: | |
| - "**/*.md" | |
| jobs: | |
| unit: | |
| strategy: | |
| matrix: | |
| go-version: [1.24.x, 1.25.x] | |
| platform: [ubuntu-latest, windows-latest, macos-latest, macos-13] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Fetch Repository | |
| uses: actions/checkout@v5 | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Test | |
| run: go run gotest.tools/gotestsum@latest -f testname -- ./... -race -count=1 -coverprofile=coverage.txt -covermode=atomic -shuffle=on | |
| repeated: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch Repository | |
| uses: actions/checkout@v5 | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: stable | |
| - name: Test | |
| run: go run gotest.tools/gotestsum@latest -f testname -- ./... -race -count=15 -shuffle=on |