Add verify-exercises-in-docker -c to copy results.json from the t…
#552
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: Check formatting | |
| 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.26.x] | |
| os: [ubuntu-24.04, windows-2025, macOS-latest] | |
| test-arch: [amd64] | |
| race: ["-race"] | |
| include: | |
| - go-version: 1.26.x | |
| test-arch: "386" | |
| os: ubuntu-24.04 | |
| race: "" | |
| - go-version: 1.26.x | |
| test-arch: "386" | |
| os: windows-2025 | |
| race: "" | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Install gofumpt | |
| run: go install mvdan.cc/gofumpt@v0.9.1 | |
| - name: Run gofumpt | |
| run: gofumpt -l . |