Skip to content

Commit

Permalink
Add Go caching in the workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Christensen <kimworking@gmail.com>
  • Loading branch information
kichristensen committed May 24, 2024
1 parent dbbf26c commit f27d956
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/check-docs-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
# upload test results https://github.com/actions/upload-artifact

name: Check Website Links

on: pull_request

env:
GOVERSION: 1.21.3

jobs:
htmltest:
runs-on: ubuntu-latest
Expand All @@ -19,6 +22,11 @@ jobs:
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- uses: actions/setup-go@v4
with:
go-version: "${{ env.GOVERSION }}" # The Go version to download (if necessary) and use.
cache: true

- name: Set up Hugo
uses: peaceiris/actions-hugo@v2
Expand Down

0 comments on commit f27d956

Please sign in to comment.