Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 1ab484d

Browse files
Waterdripsalexellis
authored andcommitted
Pin go version 1.13 on github actions
This pins go to 1.13 Signed-off-by: Alistair Hey <[email protected]>
1 parent 084f397 commit 1ab484d

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/ci-only.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,20 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
go-version: [1.13.x]
14+
os: [ubuntu-latest]
15+
runs-on: ${{ matrix.os }}
1216
steps:
17+
- name: Set up Go 1.x
18+
uses: actions/setup-go@v2
19+
with:
20+
go-version: ^1.13
21+
1322
- uses: actions/checkout@master
1423
with:
1524
fetch-depth: 1
25+
1626
- name: Make all
1727
run: make all

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ on:
44
push:
55
tags:
66
- '*'
7-
87
jobs:
98
publish:
10-
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
go-version: [1.13.x]
12+
os: [ubuntu-latest]
13+
runs-on: ${{ matrix.os }}
1114
steps:
1215
- uses: actions/checkout@master
1316
with:

0 commit comments

Comments
 (0)