Skip to content

Commit 0f37e2b

Browse files
committed
fix workflow order
1 parent 15f0b20 commit 0f37e2b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/hugo.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
env:
3535
HUGO_VERSION: 0.126.2
36-
steps:
37-
- name: Setup Go environment
38-
uses: actions/setup-go@v5
39-
with:
40-
go-version-file: './go.mod'
41-
36+
steps:
4237
- name: Install Hugo CLI
4338
run: |
4439
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb \
@@ -47,6 +42,11 @@ jobs:
4742
- name: Checkout
4843
uses: actions/[email protected]
4944

45+
- name: Setup Go environment
46+
uses: actions/setup-go@v5
47+
with:
48+
go-version-file: './go.mod'
49+
5050
- name: Generate stdlib articles
5151
run: go run ./gen
5252

0 commit comments

Comments
 (0)