chore: bump up Go to 1.16 (#861)

* chore: bump up Go to 1.16

* chore(release): support darwin/arm64
This commit is contained in:
Teppei Fukuda
2021-02-25 19:04:13 +02:00
committed by GitHub
parent fcb9a93d05
commit 049728665f
4 changed files with 6 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ on:
tags:
- "v*"
env:
GO_VERSION: "1.15"
GO_VERSION: "1.16"
GH_USER: "aqua-bot"
jobs:
release:

View File

@@ -1,5 +1,7 @@
name: Test
on: pull_request
env:
GO_VERSION: "1.16"
jobs:
test:
name: Test
@@ -28,7 +30,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15.x
go-version: ${{ env.GO_VERSION }}
id: go
- name: Check out code into the Go module directory
@@ -47,7 +49,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15.x
go-version: ${{ env.GO_VERSION }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/aquasecurity/trivy
go 1.15
go 1.16
require (
github.com/Masterminds/goutils v1.1.0 // indirect

View File

@@ -25,9 +25,6 @@ builds:
ignore:
- goos: darwin
goarch: 386
# TODO: bump up Go to 1.16
- goos: darwin
goarch: arm64
nfpms:
-