update Go and Hugo versions
Some checks failed
Build Hugo Site / build (push) Failing after 41s

This commit is contained in:
Andreas Hnida 2024-04-17 06:53:49 +02:00
commit 70ba9f2e72

View file

@ -3,7 +3,7 @@ name: Build Hugo Site
on: on:
push: push:
branches: branches:
- main # Adjust if your main branch has a different name - main
pull_request: pull_request:
branches: branches:
- main - main
@ -13,17 +13,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '1.18' # Specify the version of Go you need, align it with your project requirements go-version: '1.20.5'
- name: Set up Hugo - name: Set up Hugo
uses: peaceiris/actions-hugo@v2 uses: peaceiris/actions-hugo@v2
with: with:
hugo-version: '0.92.0' # Specify the Hugo version you need hugo-version: '0.121.2'
- name: Build Hugo site - name: Build Hugo site
run: hugo --minify run: hugo --minify