Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit 0868f4c

Browse files
authored
Update Go version to 1.16 (#80)
1 parent 12b0f7e commit 0868f4c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525

2626
env:
2727
DOCKER_BUILDKIT: 1
28-
GOLANG_VERSION: 1.15
28+
GOLANG_VERSION: 1.16
2929

3030
jobs:
3131

@@ -39,7 +39,7 @@ jobs:
3939
run: make binary
4040
env:
4141
GOFLAGS: '-gcflags=-trimpath=${{ github.workspace }} -asmflags=-trimpath=${{ github.workspace }}'
42-
- name: Cache Artifacts
42+
- name: Cache Artifacts
4343
uses: actions/[email protected]
4444
with:
4545
path: ${{ github.workspace }}/build/_output/bin/nginx-ingress-operator
@@ -95,9 +95,9 @@ jobs:
9595
name: Release Image
9696
runs-on: ubuntu-18.04
9797
needs: [build, unit-tests]
98-
if:
98+
if:
9999
github.repository == 'nginxinc/nginx-ingress-operator' &&
100-
github.event_name == 'create' &&
100+
github.event_name == 'create' &&
101101
contains(github.ref, 'refs/tags/')
102102
steps:
103103
- name: Checkout Repository
@@ -122,7 +122,7 @@ jobs:
122122
restore-keys: |
123123
${{ runner.os }}-buildx-
124124
- name: DockerHub Login
125-
uses: docker/login-action@v1
125+
uses: docker/login-action@v1
126126
with:
127127
username: ${{ secrets.DOCKER_USERNAME }}
128128
password: ${{ secrets.DOCKER_PASSWORD }}
@@ -152,8 +152,8 @@ jobs:
152152
echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)"
153153
- name: Send Notification
154154
uses: 8398a7/action-slack@v3
155-
if:
156-
steps.check.outputs.status == 'failure' ||
155+
if:
156+
steps.check.outputs.status == 'failure' ||
157157
steps.check.outputs.status == 'cancelled'
158158
with:
159159
status: custom
@@ -189,4 +189,4 @@ jobs:
189189
}
190190
env:
191191
GITHUB_TOKEN: ${{ github.token }}
192-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
192+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/nginxinc/nginx-ingress-operator
22

3-
go 1.15
3+
go 1.16
44

55
require (
66
github.com/go-logr/logr v0.1.0

0 commit comments

Comments
 (0)