Update all dependencies #4
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: Tests | |
| on: | |
| push: | |
| branches: ["master"] | |
| pull_request: | |
| branches: ["master"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Windows Go ${{ matrix.go }} | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| go: ["1.26.0"] | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Go ${{ matrix.go }} | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Test Go | |
| run: go test -v ./... | |
| cross-compile: | |
| name: Cross-compile Windows targets | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go: ["1.26.0"] | |
| goarch: ["amd64", "386"] | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Go ${{ matrix.go }} | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Compile test binaries for Windows/${{ matrix.goarch }} | |
| env: | |
| GOOS: windows | |
| GOARCH: ${{ matrix.goarch }} | |
| run: go test -exec=true ./... |