From 66fb78d8fe20d21c7c74a58fef5fdf7898dd138c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 23:30:42 +0200 Subject: [PATCH 01/15] chore: Configure Renovate (#1) * Add renovate.json * Update renovate.json Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> * Rename renovate.json to renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> * Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> * Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --------- Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 renovate.json5 diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 000000000..a5866f3ed --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,42 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ], + "baseBranches": ["main", "release-1.20"], + "postUpdateOptions": [ + "gomodTidy", + "gomodUpdateImportPaths" + ], + "schedule": ["before 9am on Monday"], + "packageRules": [ + { + "matchBaseBranches": ["release-1.20"], + "packagePatterns": ["*"], + "enabled": false + }, + // Pin Go at the current version, since we want to upgrade it manually. + // Remember to keep this in sync when upgrading our Go version! + { + "matchDatasources": ["docker", "golang-version"], + "matchPackageNames": ["go", "golang"], + "allowedVersions": "<=1.22.5" + }, + { + "matchManagers": ["gomod"], + "matchPaths": ["**/go.mod"], + "schedule": ["every month"] + }, + { + "matchManagers": ["github-runners"], + "schedule": ["every month"], + "packagePatterns": ["*"] + } + ], + "branchPrefix": "deps-update/", + "vulnerabilityAlerts": { + "enabled": true, + "labels": ["security-update"] + }, + "osvVulnerabilityAlerts": true +} From f97e65ee3b955fb6699154f92467639e5f830e83 Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Sat, 5 Oct 2024 23:33:17 +0200 Subject: [PATCH 02/15] Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index a5866f3ed..34803bcc3 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -26,11 +26,6 @@ "matchManagers": ["gomod"], "matchPaths": ["**/go.mod"], "schedule": ["every month"] - }, - { - "matchManagers": ["github-runners"], - "schedule": ["every month"], - "packagePatterns": ["*"] } ], "branchPrefix": "deps-update/", From 4dbe7888f0296c161d90dd40c6024f2a91200bd8 Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Sat, 5 Oct 2024 23:36:06 +0200 Subject: [PATCH 03/15] Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/renovate.json5 b/renovate.json5 index 34803bcc3..a2b136c51 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -26,7 +26,11 @@ "matchManagers": ["gomod"], "matchPaths": ["**/go.mod"], "schedule": ["every month"] - } + }, + { + "matchManagers": ["github-actions"], + "schedule": ["every month"], + "packagePatterns": ["*"] ], "branchPrefix": "deps-update/", "vulnerabilityAlerts": { From 3239f2f325b917737e140e196e4c7241455ccb26 Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Sat, 5 Oct 2024 23:37:31 +0200 Subject: [PATCH 04/15] Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 1 + 1 file changed, 1 insertion(+) diff --git a/renovate.json5 b/renovate.json5 index a2b136c51..6a66eada9 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -31,6 +31,7 @@ "matchManagers": ["github-actions"], "schedule": ["every month"], "packagePatterns": ["*"] + } ], "branchPrefix": "deps-update/", "vulnerabilityAlerts": { From 7fe2e5f147b31764beffd52753c86b97505d633b Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Sat, 5 Oct 2024 23:45:33 +0200 Subject: [PATCH 05/15] Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/renovate.json5 b/renovate.json5 index 6a66eada9..20f46bc93 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -31,6 +31,12 @@ "matchManagers": ["github-actions"], "schedule": ["every month"], "packagePatterns": ["*"] + }, + { + "matchUpdateTypes": ["minor", "patch"], + "automerge": true, + "automergeType": "pr", + "requiredStatusChecks": ["*"] } ], "branchPrefix": "deps-update/", From eaf7246a1d4fbca11e776e174a10734f6ec40733 Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Sat, 5 Oct 2024 23:58:15 +0200 Subject: [PATCH 06/15] Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/renovate.json5 b/renovate.json5 index 20f46bc93..a27102be6 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -26,6 +26,10 @@ "matchManagers": ["gomod"], "matchPaths": ["**/go.mod"], "schedule": ["every month"] + "postUpdateOptions": [ + "gomodTidy", + "gomodUpdateImportPaths" + ], }, { "matchManagers": ["github-actions"], From 4b0d2dd7cdceb8c77f825548fed54be77d692b48 Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Sun, 6 Oct 2024 00:01:35 +0200 Subject: [PATCH 07/15] Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index a27102be6..857fde26a 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -24,12 +24,13 @@ }, { "matchManagers": ["gomod"], - "matchPaths": ["**/go.mod"], + "matchPaths": ["dagger/go.mod"], "schedule": ["every month"] "postUpdateOptions": [ - "gomodTidy", - "gomodUpdateImportPaths" - ], + { + "command": "go mod tidy", + "cwd": "dagger" + }, }, { "matchManagers": ["github-actions"], From 7b65b64faf081801ce23fb99f77beb58da08db8e Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Sun, 6 Oct 2024 00:05:10 +0200 Subject: [PATCH 08/15] Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index 857fde26a..6251306b2 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -4,10 +4,6 @@ "config:base" ], "baseBranches": ["main", "release-1.20"], - "postUpdateOptions": [ - "gomodTidy", - "gomodUpdateImportPaths" - ], "schedule": ["before 9am on Monday"], "packageRules": [ { From 898924399940621c21dea3f464200d48422c72ff Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Sun, 6 Oct 2024 00:06:03 +0200 Subject: [PATCH 09/15] Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/renovate.json5 b/renovate.json5 index 6251306b2..7c47006c3 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -26,7 +26,8 @@ { "command": "go mod tidy", "cwd": "dagger" - }, + } + ] }, { "matchManagers": ["github-actions"], From 8a8ea8cc5f793800289e61bfab4e26a399092773 Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Sun, 6 Oct 2024 00:06:32 +0200 Subject: [PATCH 10/15] Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json5 b/renovate.json5 index 7c47006c3..76eebf028 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -21,7 +21,7 @@ { "matchManagers": ["gomod"], "matchPaths": ["dagger/go.mod"], - "schedule": ["every month"] + "schedule": ["every month"], "postUpdateOptions": [ { "command": "go mod tidy", From a0002212d9ae565e1ae7e93e3bfafb14afe09bfd Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Sun, 6 Oct 2024 00:08:50 +0200 Subject: [PATCH 11/15] Update renovate.json5 Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> --- renovate.json5 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index 76eebf028..cba94adeb 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -22,12 +22,7 @@ "matchManagers": ["gomod"], "matchPaths": ["dagger/go.mod"], "schedule": ["every month"], - "postUpdateOptions": [ - { - "command": "go mod tidy", - "cwd": "dagger" - } - ] + "postUpdateOptions": ["gomodTidy1.17"] }, { "matchManagers": ["github-actions"], From b704077e6a899701039ff24f4bbc189ef9591c10 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 04:59:19 +0000 Subject: [PATCH 12/15] fix(deps): update module github.com/klauspost/compress to v1.17.11 --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 1339daef7..d9927ac21 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/cespare/xxhash/v2 v2.3.0 github.com/google/go-cmp v0.6.0 github.com/json-iterator/go v1.1.12 - github.com/klauspost/compress v1.17.10 + github.com/klauspost/compress v1.17.11 github.com/kylelemons/godebug v1.1.0 github.com/prometheus/client_model v0.6.1 github.com/prometheus/common v0.59.1 diff --git a/go.sum b/go.sum index abdd66f39..e4d6a8548 100644 --- a/go.sum +++ b/go.sum @@ -15,6 +15,8 @@ github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnr github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/klauspost/compress v1.17.10 h1:oXAz+Vh0PMUvJczoi+flxpnBEPxoER1IaAnU/NMPtT0= github.com/klauspost/compress v1.17.10/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= +github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc= +github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= From 8f63c7cbb2cd32980099a3466c074edeb371890e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:50:46 +0000 Subject: [PATCH 13/15] fix(deps): update module github.com/efficientgo/core to v1.0.0-rc.3 --- tutorials/whatsup/go.mod | 2 +- tutorials/whatsup/go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorials/whatsup/go.mod b/tutorials/whatsup/go.mod index 0f4ca199d..f79271483 100644 --- a/tutorials/whatsup/go.mod +++ b/tutorials/whatsup/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/bwplotka/tracing-go v0.0.0-20230421061608-abdf862ceccd - github.com/efficientgo/core v1.0.0-rc.2 + github.com/efficientgo/core v1.0.0-rc.3 github.com/efficientgo/e2e v0.14.1-0.20230421070206-d72d43f3b937 github.com/oklog/run v1.1.0 github.com/prometheus/client_golang v1.19.1 diff --git a/tutorials/whatsup/go.sum b/tutorials/whatsup/go.sum index 7a05b05e3..cb1797aa2 100644 --- a/tutorials/whatsup/go.sum +++ b/tutorials/whatsup/go.sum @@ -63,6 +63,8 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/efficientgo/core v1.0.0-rc.2 h1:7j62qHLnrZqO3V3UA0AqOGd5d5aXV3AX6m/NZBHp78I= github.com/efficientgo/core v1.0.0-rc.2/go.mod h1:FfGdkzWarkuzOlY04VY+bGfb1lWrjaL6x/GLcQ4vJps= +github.com/efficientgo/core v1.0.0-rc.3 h1:X6CdgycYWDcbYiJr1H1+lQGzx13o7bq3EUkbB9DsSPc= +github.com/efficientgo/core v1.0.0-rc.3/go.mod h1:FfGdkzWarkuzOlY04VY+bGfb1lWrjaL6x/GLcQ4vJps= github.com/efficientgo/e2e v0.14.1-0.20230421070206-d72d43f3b937 h1:id4ofFoEdjDgOvGhRi24PozN2kzsIriHDKc+HP6ipHo= github.com/efficientgo/e2e v0.14.1-0.20230421070206-d72d43f3b937/go.mod h1:plsKU0YHE9uX+7utvr7SiDtVBSHJyEfHRO4UnUgDmts= github.com/efficientgo/tools/core v0.0.0-20220225185207-fe763185946b h1:ZHiD4/yE4idlbqvAO6iYCOYRzOMRpxkW+FKasRA3tsQ= From b736300695231ec62902b47dfd1907fd9dd02df5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 09:38:53 +0000 Subject: [PATCH 14/15] fix(deps): update github.com/efficientgo/e2e digest to 97db25a --- tutorials/whatsup/go.mod | 2 +- tutorials/whatsup/go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorials/whatsup/go.mod b/tutorials/whatsup/go.mod index f79271483..39098149f 100644 --- a/tutorials/whatsup/go.mod +++ b/tutorials/whatsup/go.mod @@ -5,7 +5,7 @@ go 1.21 require ( github.com/bwplotka/tracing-go v0.0.0-20230421061608-abdf862ceccd github.com/efficientgo/core v1.0.0-rc.3 - github.com/efficientgo/e2e v0.14.1-0.20230421070206-d72d43f3b937 + github.com/efficientgo/e2e v0.14.1-0.20240418111536-97db25a0c6c0 github.com/oklog/run v1.1.0 github.com/prometheus/client_golang v1.19.1 github.com/prometheus/common v0.55.0 diff --git a/tutorials/whatsup/go.sum b/tutorials/whatsup/go.sum index cb1797aa2..85cea252b 100644 --- a/tutorials/whatsup/go.sum +++ b/tutorials/whatsup/go.sum @@ -67,6 +67,8 @@ github.com/efficientgo/core v1.0.0-rc.3 h1:X6CdgycYWDcbYiJr1H1+lQGzx13o7bq3EUkbB github.com/efficientgo/core v1.0.0-rc.3/go.mod h1:FfGdkzWarkuzOlY04VY+bGfb1lWrjaL6x/GLcQ4vJps= github.com/efficientgo/e2e v0.14.1-0.20230421070206-d72d43f3b937 h1:id4ofFoEdjDgOvGhRi24PozN2kzsIriHDKc+HP6ipHo= github.com/efficientgo/e2e v0.14.1-0.20230421070206-d72d43f3b937/go.mod h1:plsKU0YHE9uX+7utvr7SiDtVBSHJyEfHRO4UnUgDmts= +github.com/efficientgo/e2e v0.14.1-0.20240418111536-97db25a0c6c0 h1:C/FNIs+MtAJgQYLJ9FX/ACFYyDRuLYoXTmueErrOJyA= +github.com/efficientgo/e2e v0.14.1-0.20240418111536-97db25a0c6c0/go.mod h1:plsKU0YHE9uX+7utvr7SiDtVBSHJyEfHRO4UnUgDmts= github.com/efficientgo/tools/core v0.0.0-20220225185207-fe763185946b h1:ZHiD4/yE4idlbqvAO6iYCOYRzOMRpxkW+FKasRA3tsQ= github.com/efficientgo/tools/core v0.0.0-20220225185207-fe763185946b/go.mod h1:OmVcnJopJL8d3X3sSXTiypGoUSgFq1aDGmlrdi9dn/M= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= From ad7b314f2e4aedd340c4eef917db9349f69b65e3 Mon Sep 17 00:00:00 2001 From: Ying WANG <74549700+ying-jeanne@users.noreply.github.com> Date: Fri, 28 Mar 2025 18:34:06 +0100 Subject: [PATCH 15/15] change os (#32) --- .github/workflows/go.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b79d1fa09..5618f1447 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -33,12 +33,15 @@ jobs: test: name: Tests - runs-on: ubuntu-latest - needs: supportedVersions - strategy: matrix: go_version: ${{ fromJSON(needs.supportedVersions.outputs.supported_versions) }} + os: [ubuntu-latest, macos-latest, windows-latest] # Matrix for OS + + runs-on: ${{ matrix.os }} + needs: supportedVersions + + steps: - name: Checkout code