add go
Some checks failed
Build an image to deploy website / build (push) Failing after 18s

This commit is contained in:
2024-01-24 10:53:22 +01:00
parent 71d95f844e
commit a65d2d573c
2 changed files with 29 additions and 22 deletions

View File

@@ -15,7 +15,7 @@ permissions:
env:
HUGO_ENV: production
HUGO_VERSION: "0.121.2"
GO_VERSION: "1.20.5"
GO_VERSION: "^1.21.4"
NODE_VERSION: "18"
jobs:
@@ -36,14 +36,11 @@ jobs:
with:
hugo-version: '${{ HUGO_VERSION }}'
# - name: Install Go
# run: |
# curl -LO "https://dl.google.com/go/go${{ env.GO_VERSION }}.linux-amd64.tar.gz"
# sudo tar -C /usr/local -xzf go${{ env.GO_VERSION }}.linux-amd64.tar.gz
# echo "export PATH=$PATH:/usr/local/go/bin" >> $GITHUB_ENV
# rm go${{ env.GO_VERSION }}.linux-amd64.tar.gz
# go version
#
- name: Setup Go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '${{ GO_VERSION }}'
- name: Setup Project
run: npm run project-setup