Upgrade the version of Hugo used in CI

Otherwise the `relref` in the changelogs does not work.
Version 0.124.1 is the last version of Hugo to work with the current
version of the docsy theme.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2024-10-24 12:48:18 +02:00
parent e60156f4a2
commit 0ef87aa34f
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D

View file

@ -1,4 +1,9 @@
name: "Spec" name: "Spec"
env:
# Cannot build the spec with Hugo 0.125.0 and docsy < 0.10.0 because of https://github.com/google/docsy/issues/1930
HUGO_VERSION: 0.124.1
on: on:
push: push:
branches: branches:
@ -193,7 +198,7 @@ jobs:
- name: " Setup Hugo" - name: " Setup Hugo"
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0 uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
with: with:
hugo-version: '0.117.0' hugo-version: ${{ env.HUGO_VERSION }}
extended: true extended: true
- name: "📥 Source checkout" - name: "📥 Source checkout"
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -270,8 +275,7 @@ jobs:
- name: " Setup Hugo" - name: " Setup Hugo"
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0 uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
with: with:
# Cannot build the spec with Hugo 0.125.0 because of https://github.com/google/docsy/issues/1930 hugo-version: ${{ env.HUGO_VERSION }}
hugo-version: '0.124.1'
extended: true extended: true
- name: "📥 Source checkout" - name: "📥 Source checkout"
uses: actions/checkout@v4 uses: actions/checkout@v4