Set up go beforehand

This commit is contained in:
JP Hastings-Spital 2023-11-12 08:09:10 +00:00
parent 0641a86e5f
commit 42874fd991

View file

@ -29,6 +29,9 @@ jobs:
env:
HUGO_VERSION: 0.111.3
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.21.1'
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
@ -61,6 +64,7 @@ jobs:
- name: Syndicate
run: |
cd tools/syndicate
go mod download
go run .
if git diff-index --quiet HEAD; then
echo "No syndication changes made"