Skip to content

Commit 9c047e3

Browse files
authored
Add support for Go 1.16 in the CI and release workflows (#581)
Signed-off-by: Cosmin Cojocar <[email protected]>
1 parent 1fce461 commit 9c047e3

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/ci.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,49 +7,49 @@ on:
77
branches:
88
- master
99
jobs:
10-
tests-go-1-15:
10+
tests-go-1-16:
1111
runs-on: ubuntu-latest
1212
env:
1313
GO111MODULE: on
1414
steps:
1515
- name: Checkout Source
1616
uses: actions/checkout@v2
1717
- name: Run Tests
18-
uses: cedrickring/golang-action@1.6.0
18+
uses: cedrickring/golang-action@1.7.0
1919
with:
2020
args: make test
21-
tests-go-1-14:
21+
tests-go-1-15:
2222
runs-on: ubuntu-latest
2323
env:
2424
GO111MODULE: on
2525
steps:
2626
- name: Checkout Source
2727
uses: actions/checkout@v2
2828
- name: Run Tests
29-
uses: cedrickring/golang-action/go1.14@1.6.0
29+
uses: cedrickring/golang-action/go1.15@1.7.0
3030
with:
3131
args: make test
32-
tests-go-1-13:
32+
tests-go-1-14:
3333
runs-on: ubuntu-latest
3434
env:
3535
GO111MODULE: on
3636
steps:
3737
- name: Checkout Source
3838
uses: actions/checkout@v2
3939
- name: Run Tests
40-
uses: cedrickring/golang-action/go1.13@1.6.0
40+
uses: cedrickring/golang-action/go1.14@1.7.0
4141
with:
4242
args: make test
4343
coverage:
44-
needs: [tests-go-1-15, tests-go-1-14, tests-go-1-13]
44+
needs: [tests-go-1-16, tests-go-1-15, tests-go-1-14]
4545
runs-on: ubuntu-latest
4646
env:
4747
GO111MODULE: on
4848
steps:
4949
- name: Checkout Source
5050
uses: actions/checkout@v2
5151
- name: Create Test Coverage
52-
uses: cedrickring/golang-action@1.6.0
52+
uses: cedrickring/golang-action@1.7.0
5353
with:
5454
args: make test-coverage
5555
- name: Upload Test Coverage

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v2
1919
with:
20-
go-version: 1.15.x
20+
go-version: 1.16.x
2121
- name : Get release version
2222
id: get_version
2323
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
@@ -34,6 +34,6 @@ jobs:
3434
name: securego/gosec
3535
username: ${{ secrets.DOCKER_USERNAME }}
3636
password: ${{ secrets.DOCKER_PASSWORD }}
37-
buildargs: GO_VERSION=1.15
37+
buildargs: GO_VERSION=1.16
3838
tags: "latest,${{ env.RELEASE_VERSION }}"
3939
tag_names: true

0 commit comments

Comments
 (0)