chore: Fix readme linter not using correct Go version (#14758)
This commit is contained in:
parent
957daa363f
commit
db831793a5
|
|
@ -10,6 +10,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22.0'
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
|
|
|||
|
|
@ -204,6 +204,11 @@ func main() {
|
|||
Regex: `(GO_VERSION_SHA_amd64)=".*"`,
|
||||
Replace: fmt.Sprintf("$1=%q", hashes[fmt.Sprintf("go%s.darwin-amd64.tar.gz", version)]),
|
||||
},
|
||||
{
|
||||
FileName: ".github/workflows/readme-linter.yml",
|
||||
Regex: `(go-version): '\d.\d*.\d'`,
|
||||
Replace: fmt.Sprintf("$1: '%s'", version),
|
||||
},
|
||||
}
|
||||
|
||||
for _, f := range files {
|
||||
|
|
|
|||
Loading…
Reference in New Issue