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 298fbec commit aca4401
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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.21.1

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
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.21
go-version: 1.21.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.21
go-version: 1.21.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 aca4401

Please sign in to comment.