Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
wf update
  • Loading branch information
Bryan MacFarlane committed Feb 10, 2020
1 parent a037787 commit 87e783e
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/versions.yml
Expand Up @@ -15,18 +15,30 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
version: [1.13, 1.12.9]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: setup-go ${{ matrix.version }}
- name: setup-go ^1.13.6
uses: ./
with:
go-version: ${{ matrix.version }}
go-version: ^1.13.6

- name: match ${{ matrix.version }}
run: go version
- name: validate version
run: go version | grep "go1.13."

- name: setup-go 1.13
uses: ./
with:
go-version: 1.13

- name: validate version
run: go version | grep "go1.13."

- name: setup-go 1.12.9
uses: ./
with:
go-version: 1.12.9

- name: validate version
run: go version | grep "go${{ matrix.version }}"
run: go version | grep "go1.12.9"

0 comments on commit 87e783e

Please sign in to comment.