add support gowork for go-version-file

This commit is contained in:
koba1t
2022-11-01 19:13:57 +09:00
parent c4a742cab1
commit 7678c83214
7 changed files with 48 additions and 7 deletions

View File

@ -66,6 +66,22 @@ jobs:
run: __tests__/verify-go.sh 1.14
shell: bash
go-version-file-with-gowork:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Setup Go and check latest
uses: ./
with:
go-version-file: __tests__/data/go.work
- name: verify go
run: __tests__/verify-go.sh 1.19
shell: bash
setup-versions-from-manifest:
name: Setup ${{ matrix.go }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
@ -123,4 +139,4 @@ jobs:
go-version: ${{ matrix.go-version }}
architecture: x64
- name: Verify Go
run: go version
run: go version