Skip to content

Commit 70a640a

Browse files
authored
ci: bump go to 1.24.7 and fix link checker (#1357)
* ci: bump go to 1.24.7 Signed-off-by: Jan Wozniak <[email protected]> * ci: replace linkinator with lychee Signed-off-by: Jan Wozniak <[email protected]> --------- Signed-off-by: Jan Wozniak <[email protected]>
1 parent 87a5f0a commit 70a640a

File tree

4 files changed

+28
-10
lines changed

4 files changed

+28
-10
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ _Provide a description of what has been changed_
1111
- [ ] Commits are signed with Developer Certificate of Origin (DCO)
1212
- [ ] Changelog has been updated and is aligned with our [changelog requirements](https://github.com/kedacore/keda/blob/main/CONTRIBUTING.md#Changelog)
1313
- [ ] Any necessary documentation is added, such as:
14-
- [`README.md`](/README.md)
14+
- [`README.md`](../README.md)
1515
- [The `docs/` directory](./docs)
1616
- [The docs repo](https://github.com/kedacore/keda-docs)
1717

.github/workflows/e2e-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
4141
with:
42-
go-version: "1.24"
42+
go-version: "1.24.7"
4343

4444
- name: Helm install
4545
uses: Azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
@@ -110,7 +110,7 @@ jobs:
110110

111111
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
112112
with:
113-
go-version: "1.24"
113+
go-version: "1.24.7"
114114

115115
- name: Helm install
116116
uses: Azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1

.github/workflows/linkinator.yaml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,28 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
20-
- uses: JustinBeckwith/linkinator-action@3d5ba091319fa7b0ac14703761eebb7d100e6f6d # v1
20+
- name: Restore lychee cache
21+
uses: actions/cache@v4
2122
with:
22-
paths: "**/*.md"
23-
markdown: true
24-
concurrency: 1
25-
retry: true
26-
linksToSkip: "https://github.com/kedacore/http-add-on/pkgs/container/http-add-on-interceptor, https://github.com/kedacore/http-add-on/pkgs/container/http-add-on-operator, https://github.com/kedacore/http-add-on/pkgs/container/http-add-on-scaler,http://opentelemetry-collector.open-telemetry-system:4318,http://opentelemetry-collector.open-telemetry-system:4318/v1/traces, https://www.gnu.org/software/make/"
23+
path: .lycheecache
24+
key: cache-lychee-${{ github.sha }}
25+
restore-keys: cache-lychee-
26+
- name: Run lychee
27+
uses: lycheeverse/lychee-action@v2
28+
with:
29+
args: >
30+
--base-url "."
31+
--cache --max-cache-age 1d
32+
--max-concurrency 6
33+
--max-retries 6
34+
--retry-wait-time 2
35+
--timeout 30
36+
--github-token ${{ secrets.GITHUB_TOKEN }}
37+
--exclude '^https://github\.com/kedacore/http-add-on/pkgs/container/http-add-on-interceptor$'
38+
--exclude '^https://github\.com/kedacore/http-add-on/pkgs/container/http-add-on-operator$'
39+
--exclude '^https://github\.com/kedacore/http-add-on/pkgs/container/http-add-on-scaler$'
40+
--exclude '^http://opentelemetry-collector\.open-telemetry-system:4318$'
41+
--exclude '^http://opentelemetry-collector\.open-telemetry-system:4318/$'
42+
--exclude '^http://opentelemetry-collector\.open-telemetry-system:4318/v1/traces$'
43+
--exclude '^https://www\.gnu\.org/software/make/$'
44+
"./**/*.md"

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8080
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
8181
with:
82-
go-version: "1.24"
82+
go-version: "1.24.7"
8383
- uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
8484
with:
8585
version: v2.1.0

0 commit comments

Comments
 (0)