Skip to content

Commit

Permalink
Merge pull request #107 from axivo/fix/renovate
Browse files Browse the repository at this point in the history
Update renovate configuration
  • Loading branch information
fmunteanu authored May 26, 2024
2 parents b35555a + 68f912e commit 669532a
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 14 deletions.
28 changes: 24 additions & 4 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
"fmunteanu"
],
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "github-tags",
"depNameTemplate": "golang/go",
"extractVersionTemplate": "^go(?<version>.+)$",
"fileMatch": [
"netlify.toml"
],
"matchStrings": [
"GO_VERSION[\\s\\S]+\"(?<currentValue>.+)\""
]
},
{
"customType": "regex",
"datasourceTemplate": "github-releases",
Expand Down Expand Up @@ -51,23 +63,31 @@
],
"matchPackagePrefixes": [
"golang/"
],
"matchUpdateTypes": [
"major",
"minor"
]
},
{
"groupName": "dependency golang/go",
"matchDatasources": [
"golang-version"
],
"matchFileNames": [
"global/go.mod"
],
"matchManagers": [
"gomod"
],
"matchUpdateTypes": [
"major",
"minor"
]
},
{
"groupName": "dependency golang/go",
"matchDatasources": [
"golang-version"
],
"matchManagers": [
"gomod"
],
"rangeStrategy": "bump"
},
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- main
paths:
- docs/**
- global/**
- k3s-cluster/**
workflow_dispatch:
concurrency:
cancel-in-progress: false
Expand All @@ -21,7 +25,7 @@ jobs:
uses: actions/setup-go@v5
with:
cache: false
go-version: 1.21
go-version: 1.22.2
- name: Setup Hugo
run: sudo snap install --channel=extended/stable hugo
- name: Configure Pages
Expand Down
4 changes: 2 additions & 2 deletions docs/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/axivo/website/docs

go 1.22
go 1.22.2

require (
github.com/axivo/website/global v1.0.0 // indirect
github.com/imfing/hextra v0.7.4-0.20240525091914-d3f251b6218c // indirect
github.com/imfing/hextra v0.7.4-0.20240526173855-857c4e4ca182 // indirect
)
4 changes: 2 additions & 2 deletions docs/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/axivo/website/global v1.0.0 h1:bj9/nm3JDNhEnVPmxrtEnIML0jcF8CLSYRoUOozHyMo=
github.com/axivo/website/global v1.0.0/go.mod h1:ZKVkalB26nUsvakWnA861I8MOZNiXK2DKnoBCPTqjT8=
github.com/imfing/hextra v0.7.4-0.20240525091914-d3f251b6218c h1:NNAbYnfbpuMArO7Sx/flGPrVrQPfYIdx2lupHpZDCHE=
github.com/imfing/hextra v0.7.4-0.20240525091914-d3f251b6218c/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=
github.com/imfing/hextra v0.7.4-0.20240526173855-857c4e4ca182 h1:IrtRwafIVcW0+mdtcdTOcO1hskYqCFrkJwl0tHXNyyU=
github.com/imfing/hextra v0.7.4-0.20240526173855-857c4e4ca182/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=
4 changes: 2 additions & 2 deletions k3s-cluster/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/axivo/website/k3s-cluster

go 1.21
go 1.22.2

require (
github.com/axivo/website/global v1.0.0 // indirect
github.com/imfing/hextra v0.7.4-0.20240525091914-d3f251b6218c // indirect
github.com/imfing/hextra v0.7.4-0.20240526173855-857c4e4ca182 // indirect
)
4 changes: 2 additions & 2 deletions k3s-cluster/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/axivo/website/global v1.0.0 h1:bj9/nm3JDNhEnVPmxrtEnIML0jcF8CLSYRoUOozHyMo=
github.com/axivo/website/global v1.0.0/go.mod h1:ZKVkalB26nUsvakWnA861I8MOZNiXK2DKnoBCPTqjT8=
github.com/imfing/hextra v0.7.4-0.20240525091914-d3f251b6218c h1:NNAbYnfbpuMArO7Sx/flGPrVrQPfYIdx2lupHpZDCHE=
github.com/imfing/hextra v0.7.4-0.20240525091914-d3f251b6218c/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=
github.com/imfing/hextra v0.7.4-0.20240526173855-857c4e4ca182 h1:IrtRwafIVcW0+mdtcdTOcO1hskYqCFrkJwl0tHXNyyU=
github.com/imfing/hextra v0.7.4-0.20240526173855-857c4e4ca182/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build]
command = "hugo --gc --minify -s ./docs -b ${DEPLOY_PRIME_URL}"
ignore = "false"
publish = "./public"

[build.environment]
GO_VERSION = "1.22.2"
HUGO_VERSION = "0.126.0"

0 comments on commit 669532a

Please sign in to comment.