Skip to content

Commit

Permalink
Pin go version 1.13 on github actions
Browse files Browse the repository at this point in the history
This pins go to 1.13

Signed-off-by: Alistair Hey <[email protected]>
  • Loading branch information
Waterdrips authored and alexellis committed Nov 7, 2020
1 parent 084f397 commit 1ab484d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/ci-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,20 @@ on:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.13.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13

- uses: actions/checkout@master
with:
fetch-depth: 1

- name: Make all
run: make all
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ on:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.13.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
with:
Expand Down

0 comments on commit 1ab484d

Please sign in to comment.