"Updated go version to 1.22.7 to remove security vuln"

fix-go-revert
sandeepharness 2024-11-05 18:21:41 +05:30
parent 1af50fd292
commit 9bf07fcc86
2 changed files with 4 additions and 4 deletions

View File

@ -9,14 +9,14 @@ platform:
steps:
- name: test
image: golang:1.14.15
image: golang:1.22.7
commands:
- go test -race ./...
- go build -o /dev/null github.com/drone/drone/cmd/drone-server
- go build -o /dev/null -tags "oss nolimit" github.com/drone/drone/cmd/drone-server
- name: build
image: golang:1.14.15
image: golang:1.22.7
commands:
- sh scripts/build.sh
environment:
@ -53,7 +53,7 @@ platform:
steps:
- name: build
image: golang:1.14.15
image: golang:1.22.7
commands:
- sh scripts/build.sh
environment:

2
go.mod
View File

@ -61,4 +61,4 @@ require (
replace github.com/h2non/gock => gopkg.in/h2non/gock.v1 v1.0.14
go 1.13
go 1.22