Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 3b710fe

Browse files
authored
Use Go 1.16, update deps & build Apple M1 binaries (#602)
* Use Go 1.16 for builds * Update dependencies * Build binaries for Apple M1 devices
1 parent 0287f7d commit 3b710fe

File tree

6 files changed

+207
-10
lines changed

6 files changed

+207
-10
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: '1.15'
19+
go-version: '1.16'
2020
- name: Setup tools
2121
run: |
2222
go get golang.org/x/lint/golint

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Go
1313
uses: actions/setup-go@v2
1414
with:
15-
go-version: '1.15'
15+
go-version: '1.16'
1616
- name: Checkout code
1717
uses: actions/checkout@v2
1818
with:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Source: https://github.com/rebuy-de/golang-template
22

3-
FROM golang:1.15-alpine as builder
3+
FROM golang:1.16-alpine as builder
44

55
RUN apk add --no-cache git make curl openssl
66

go.mod

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
module github.com/rebuy-de/aws-nuke
22

3-
go 1.15
3+
go 1.16
44

55
require (
6-
github.com/aws/aws-sdk-go v1.34.12
7-
github.com/fatih/color v1.9.0
6+
github.com/aws/aws-sdk-go v1.37.12
7+
github.com/fatih/color v1.10.0
88
github.com/golang/mock v1.4.4
99
github.com/mb0/glob v0.0.0-20160210091149-1eb79d2de6c4
1010
github.com/pkg/errors v0.9.1
11-
github.com/sirupsen/logrus v1.6.0
12-
github.com/spf13/cobra v1.0.0
11+
github.com/sirupsen/logrus v1.7.1
12+
github.com/spf13/cobra v1.1.3
1313
github.com/stretchr/testify v1.6.1
14-
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208
15-
gopkg.in/yaml.v2 v2.3.0
14+
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
15+
gopkg.in/yaml.v2 v2.4.0
1616
)

0 commit comments

Comments
 (0)