mirror of
https://github.com/actions/setup-go.git
synced 2025-06-28 07:53:43 +00:00
Add go-version-file option (#62)
This commit is contained in:
parent
193b404f8a
commit
265edc1beb
8 changed files with 179 additions and 3 deletions
16
.github/workflows/versions.yml
vendored
16
.github/workflows/versions.yml
vendored
|
@ -50,6 +50,22 @@ jobs:
|
|||
- name: Verify Go
|
||||
run: go version
|
||||
|
||||
go-version-file:
|
||||
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.mod
|
||||
- name: verify go
|
||||
run: __tests__/verify-go.sh 1.14
|
||||
shell: bash
|
||||
|
||||
setup-versions-from-manifest:
|
||||
name: Setup ${{ matrix.go }} ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue