Skip to content

Commit

Permalink
try: renovate to update go-version in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPsychick committed Dec 21, 2024
1 parent c158cfe commit 4242a21
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.23.3 # golang-version:golang/go
go-version: 1.23.3 # golang-version:go
check-latest: true

- name: Lint
Expand Down
16 changes: 12 additions & 4 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,23 @@
"enabledManagers": ["regex", "dockerfile", "github-actions", "gomod"],
"regexManagers": [
{
"description": "Update tool versions in Makefile",
"fileMatch": [
"^Makefile$",
"^.github/workflows/.*\\.yml$"
"^Makefile$"
],
"matchStrings": [
".*_VERSION \\??= (?<currentValue>.*?) # (?<datasource>.*?):(?<depName>.*?)\\n",
".*go-version: (?<currentValue>.*?) # (?<datasource>.*?):(?<depName>.*?)\\n"
".*_VERSION \\??= (?<currentValue>.*?) # (?<datasource>.*?):(?<depName>.*?)\\n"
],
"versioningTemplate": "semver"
},
{
"description": "Update go-version in GitHub Actions",
"fileMatch": [
"\\.github/workflows/.*\\.yml$"
],
"matchStrings": [
".*go-version: (?<currentValue>.*?) # (?<datasource>.*?):(?<depName>.*?)\\n"
]
}
]
}

0 comments on commit 4242a21

Please sign in to comment.