Open myaaaaaaaaa opened 4 months ago
Description: Right now, matrix testing ['go.mod', 'stable'] is somewhat awkward since it involves deliberately setting go-version to an empty string:
['go.mod', 'stable']
go-version
jobs: tests: runs-on: ubuntu-latest strategy: matrix: go-version: ['', 'stable'] steps: - name: Setup Go uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} go-version-file: go.mod
This PR makes such a matrix test more straightforward:
jobs: tests: runs-on: ubuntu-latest strategy: matrix: - go-version: ['', 'stable'] + go-version: ['go.mod', 'stable'] steps: - name: Setup Go uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - go-version-file: go.mod
Related issue: Fixes #450
Check list:
Friendly ping
Description: Right now, matrix testing
['go.mod', 'stable']
is somewhat awkward since it involves deliberately settinggo-version
to an empty string:This PR makes such a matrix test more straightforward:
Related issue: Fixes #450
Check list: