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

This commit is contained in:
Julien Fastré 2024-01-24 10:53:22 +01:00
parent 71d95f844e
commit a65d2d573c
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
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

36
.idea/workspace.xml generated
View File

@ -4,18 +4,7 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="f045a27b-2f7c-4e29-b0d1-b2f3a8438404" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/.gitea/workflows/build-image.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.github/workflows/main.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.gitignore" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/hugoplate.iml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/php.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/vcs.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Caddyfile" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Dockerfile" beforeDir="false" afterPath="$PROJECT_DIR$/Dockerfile" afterDir="false" />
<change beforePath="$PROJECT_DIR$/go.mod" beforeDir="false" afterPath="$PROJECT_DIR$/go.mod" afterDir="false" />
</list>
<list default="true" id="f045a27b-2f7c-4e29-b0d1-b2f3a8438404" name="Changes" comment="Setup docker image and CI" />
<list id="e6042637-2834-4c28-8317-b4fabf609992" name="Changes by julielenaerts" comment="" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -79,11 +68,32 @@
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1706086985231</updated>
<workItem from="1706086986311" duration="2497000" />
<workItem from="1706086986311" duration="2804000" />
</task>
<task id="LOCAL-00001" summary="Setup docker image and CI">
<option name="closed" value="true" />
<created>1706089591660</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1706089591660</updated>
</task>
<task id="LOCAL-00002" summary="Setup docker image and CI">
<option name="closed" value="true" />
<created>1706089758423</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1706089758423</updated>
</task>
<option name="localTasksCounter" value="3" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="Setup docker image and CI" />
<option name="LAST_COMMIT_MESSAGE" value="Setup docker image and CI" />
</component>
</project>