Skip to content

Commit 7234349

Browse files
author
Cosmin Cojocar
committed
Add Go 1.15 to the supported version and phase out the Go 1.12
Also updated the release automation to release gosec with use Go 1.15 Signed-off-by: Cosmin Cojocar <[email protected]>
1 parent a3895d5 commit 7234349

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,41 @@ on:
77
branches:
88
- master
99
jobs:
10-
tests-go-1-14:
10+
tests-go-1-15:
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/[email protected]
18+
uses: cedrickring/golang-action/go1.15@1.5.1
1919
with:
2020
args: make test
21-
tests-go-1-13:
21+
tests-go-1-14:
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.13@1.5.1
29+
uses: cedrickring/golang-action/go1.14@1.5.1
3030
with:
3131
args: make test
32-
tests-go-1-12:
32+
tests-go-1-13:
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.12@1.5.1
40+
uses: cedrickring/golang-action/go1.13@1.5.1
4141
with:
4242
args: make test
4343
coverage:
44-
needs: [tests-go-1-14, tests-go-1-13, tests-go-1-12]
44+
needs: [tests-go-1-15, tests-go-1-14, tests-go-1-13]
4545
runs-on: ubuntu-latest
4646
env:
4747
GO111MODULE: on

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v1
1818
with:
19-
go-version: 1.14.x
19+
go-version: 1.15.x
2020
- name : Get release version
2121
id: get_version
2222
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
@@ -33,6 +33,6 @@ jobs:
3333
name: securego/gosec
3434
username: ${{ secrets.DOCKER_USERNAME }}
3535
password: ${{ secrets.DOCKER_PASSWORD }}
36-
buildargs: GO_VERSION=1.14
36+
buildargs: GO_VERSION=1.15
3737
tags: "latest,${{ env.RELEASE_VERSION }}"
3838
tag_names: true

0 commit comments

Comments
 (0)