Skip to content

Commit

Permalink
ci: auto update go-version in github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
steffakasid committed Nov 23, 2024
1 parent c5f4d6b commit 4ba1b08
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.22.1

- run: |
go get ./...
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.22.1

- name: Test
run: go test -v ./... -cover
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.22.1
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
Expand Down
13 changes: 13 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,18 @@
"automerge": true,
"groupName": "Dependencies (major)"
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^.github\/workflows\/.*\\.yml$"
],
"matchStrings": [
"(?<depName>go)-version: (?<currentValue>.*?)\\s"
],
"depNameTemplate": "go",
"datasourceTemplate": "golang-version"
}
]
}

0 comments on commit 4ba1b08

Please sign in to comment.