Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Go version to 1.16 #72

Merged
merged 1 commit into from
Feb 23, 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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ on:

env:
DOCKER_BUILDKIT: 1
GOLANG_VERSION: 1.15
GOLANG_VERSION: 1.16

jobs:

binary:
name: Build Binary
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -48,7 +48,7 @@ jobs:

unit-tests:
name: Unit Tests
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -61,7 +61,7 @@ jobs:

build:
name: Build Image
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: [binary, unit-tests]
steps:
- name: Checkout Repository
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ defaults:
env:
FOSSA_VER: 1.1.3
FOSSA_URL: https://github.com/fossas/fossa-cli/releases/download
GOLANG_VERSION: 1.15
GOLANG_VERSION: 1.16

jobs:

scan:
name: Fossa
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -42,7 +42,7 @@ jobs:

notify:
name: Notify
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: scan
if: always()
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:

jobs:
update_release_draft:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: release-drafter/release-drafter@v5.14.0
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ ARG CONTAINER_VERSION=ubuntu:groovy
ARG OS_TYPE=deb_based
ARG PACKAGE_VERSION=0.4-1

FROM golang:1.15-alpine AS builder
FROM golang:1.16-alpine AS builder
WORKDIR /go/src/github.com/nginxinc/nginx-asg-sync/cmd/sync
COPY . /go/src/github.com/nginxinc/nginx-asg-sync/

RUN CGO_ENABLED=0 GOFLAGS='-mod=vendor' go build -installsuffix cgo -o /nginx-asg-sync
RUN CGO_ENABLED=0 GO111MODULE=on GOFLAGS='-mod=vendor' go build -installsuffix cgo -o /nginx-asg-sync

#---------------------------------------------------------------------------------------------

Expand Down
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-asg-sync

go 1.15
go 1.16

require (
github.com/Azure/azure-sdk-for-go v51.3.0+incompatible
Expand Down