Skip to content

Commit b88d896

Browse files
authored
Merge pull request #2166 from pareenaverma/content_review
Hugo fix for test-lp workflow
2 parents d834367 + f0be3e2 commit b88d896

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test-lp.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Test Learning Path
22
on: pull_request
3+
env:
4+
HUGO_VERSION: 0.130.0
5+
36
jobs:
47
Test-Pull-Request:
58
runs-on: ubuntu-24.04-arm
@@ -8,9 +11,13 @@ jobs:
811
uses: actions/checkout@v4
912
with:
1013
ref: ${{ steps.vars.outputs.branch-name }}
14+
- name: Setup Hugo
15+
uses: peaceiris/actions-hugo@v3
16+
with:
17+
hugo-version: ${{ env.HUGO_VERSION }}
18+
extended: true
1119
- name: Run hugo command to test site builds
1220
run: |
13-
sudo apt-get install -y hugo
1421
hugo
1522
- name: Get all changed markdown files
1623
id: changed-markdown-files

0 commit comments

Comments
 (0)