Skip to content

Commit

Permalink
chore: bump Go to 1.21 (#5662)
Browse files Browse the repository at this point in the history
Signed-off-by: knqyf263 <knqyf263@gmail.com>
  • Loading branch information
knqyf263 authored Nov 28, 2023
1 parent 16b757d commit 075d8f6
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 35 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/check-go-versions.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: oldstable
go-version-file: go.mod

- name: go mod tidy
run: |
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ linters:
- gocritic

run:
go: '1.20'
go: '1.21'
skip-files:
- ".*_mock.go$"
- ".*_test.go$"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.protoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 golang:1.20
FROM --platform=linux/amd64 golang:1.21

# Set environment variable for protoc
ENV PROTOC_ZIP=protoc-3.19.4-linux-x86_64.zip
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/aquasecurity/trivy

go 1.20
go 1.21

require (
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible
Expand Down
Loading

0 comments on commit 075d8f6

Please sign in to comment.