fix(ci): setup Go
Some checks failed
Deploy pages / deploy (push) Failing after 24s

This commit is contained in:
Peter 2024-04-29 19:20:20 +02:00
parent 27e0ddf95b
commit 8da373eb46
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 8 additions and 2 deletions

View file

@ -9,10 +9,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
- name: Build
run: hugo --minify --environment production
run: |
hugo mod get
hugo --minify --environment production
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:

2
go.mod
View file

@ -1,5 +1,5 @@
module code.icb4dc0.de/prskr/blog
go 1.22.2
go 1.22
require github.com/LordMathis/hugo-theme-nightfall v0.7.1 // indirect