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

Update Go version to 1.16 #80

Merged
merged 1 commit into from
Mar 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:

env:
DOCKER_BUILDKIT: 1
GOLANG_VERSION: 1.15
GOLANG_VERSION: 1.16

jobs:

Expand All @@ -39,7 +39,7 @@ jobs:
run: make binary
env:
GOFLAGS: '-gcflags=-trimpath=${{ github.workspace }} -asmflags=-trimpath=${{ github.workspace }}'
- name: Cache Artifacts
- name: Cache Artifacts
uses: actions/[email protected]
with:
path: ${{ github.workspace }}/build/_output/bin/nginx-ingress-operator
Expand Down Expand Up @@ -95,9 +95,9 @@ jobs:
name: Release Image
runs-on: ubuntu-18.04
needs: [build, unit-tests]
if:
if:
github.repository == 'nginxinc/nginx-ingress-operator' &&
github.event_name == 'create' &&
github.event_name == 'create' &&
contains(github.ref, 'refs/tags/')
steps:
- name: Checkout Repository
Expand All @@ -122,7 +122,7 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: DockerHub Login
uses: docker/login-action@v1
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down Expand Up @@ -152,8 +152,8 @@ jobs:
echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)"
- name: Send Notification
uses: 8398a7/action-slack@v3
if:
steps.check.outputs.status == 'failure' ||
if:
steps.check.outputs.status == 'failure' ||
steps.check.outputs.status == 'cancelled'
with:
status: custom
Expand Down Expand Up @@ -189,4 +189,4 @@ jobs:
}
env:
GITHUB_TOKEN: ${{ github.token }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/nginxinc/nginx-ingress-operator

go 1.15
go 1.16

require (
github.com/go-logr/logr v0.1.0
Expand Down