From a65d2d573c6f7a5e50db49ca85f5928b3c9f9f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 24 Jan 2024 10:53:22 +0100 Subject: [PATCH] add go --- .gitea/workflows/build-image.yaml | 15 ++++++------- .idea/workspace.xml | 36 ++++++++++++++++++++----------- 2 files changed, 29 insertions(+), 22 deletions(-) diff --git a/.gitea/workflows/build-image.yaml b/.gitea/workflows/build-image.yaml index dceafbf..903869b 100644 --- a/.gitea/workflows/build-image.yaml +++ b/.gitea/workflows/build-image.yaml @@ -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 diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d7cef56..a50a9ca 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,18 +4,7 @@