mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-09 07:27:58 +00:00
upgrade go version to 1.25.5 and to build yq on ppc64le
This commit is contained in:
parent
d2d657eacc
commit
4118885eee
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '^1.20'
|
go-version: '1.25.5'
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '^1.20'
|
go-version: '1.25.5'
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: Compile man page markup
|
- name: Compile man page markup
|
||||||
id: gen-man-page-md
|
id: gen-man-page-md
|
||||||
|
|||||||
4
go.mod
4
go.mod
@ -39,6 +39,4 @@ require (
|
|||||||
golang.org/x/tools v0.38.0 // indirect
|
golang.org/x/tools v0.38.0 // indirect
|
||||||
)
|
)
|
||||||
|
|
||||||
go 1.24.0
|
go 1.25.5
|
||||||
|
|
||||||
toolchain go1.24.1
|
|
||||||
|
|||||||
@ -1,5 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -ex
|
set -ex
|
||||||
go mod download golang.org/x/tools@latest
|
go mod download golang.org/x/tools@latest
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.5
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.6.1
|
||||||
curl -sSfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s v2.22.5
|
arch="$(uname -m)"
|
||||||
|
if [ "$arch" = "ppc64le" ]; then
|
||||||
|
go install github.com/securego/gosec/v2/cmd/gosec@latest
|
||||||
|
else
|
||||||
|
curl -sSfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s
|
||||||
|
fi
|
||||||
Loading…
Reference in New Issue
Block a user