From 9fa34eb85416ed9b60d48a63b3bf2074c871c14d Mon Sep 17 00:00:00 2001 From: Martin Thielecke Date: Thu, 5 Oct 2023 20:48:01 +0200 Subject: [PATCH] fix order of actions --- .gitea/workflows/deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 2c2e113..9afd5ac 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -12,6 +12,11 @@ jobs: packages: write steps: + - uses: actions/setup-go@v3 + with: + go-version: '1.21' + check-latest: true + - name: Import Secrets id: import-secrets uses: https://git.mthie.com/mthie/vault-action@v0 @@ -41,11 +46,6 @@ jobs: ssh-keyscan -t rsa git.mthie.com >> ~/.ssh/known_hosts chmod 400 ~/.ssh/id_ecdsa ~/.ssh/config - - uses: actions/setup-go@v3 - with: - go-version: '1.21' - check-latest: true - - name: Build binary run: | go get ./...