Skip to content

Commit

Permalink
depend: 更新golang版本到1.20 #42
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlkl committed Jun 26, 2023
1 parent 66edefc commit c698864
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-golang-analysis-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.20

- name: Build
run: |
Expand Down
2 changes: 1 addition & 1 deletion analysis-tool-sdk-golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang

go 1.18
go 1.20
2 changes: 1 addition & 1 deletion dependency-check/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/TencentBlueKing/ci-repoAnalysis/dependency-check

go 1.18
go 1.20

require github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang v0.0.16
2 changes: 1 addition & 1 deletion filepath-search/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18-alpine
FROM golang:1.20-alpine

COPY bkrepo-filepath-search /bkrepo-filepath-search
RUN chmod +x /bkrepo-filepath-search
Expand Down
2 changes: 1 addition & 1 deletion filepath-search/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/TencentBlueKing/ci-repoAnalysis/filepath-search

go 1.18
go 1.20

require (
github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang v0.0.15
Expand Down
2 changes: 1 addition & 1 deletion scancode/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/TencentBlueKing/ci-repoAnalysis/scancode

go 1.18
go 1.20

require github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang v0.0.16
2 changes: 1 addition & 1 deletion trivy/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/TencentBlueKing/ci-repoAnalysis/trivy

go 1.19
go 1.20

require github.com/TencentBlueKing/ci-repoAnalysis/analysis-tool-sdk-golang v0.0.15

0 comments on commit c698864

Please sign in to comment.