fix order of actions

This commit is contained in:
Martin Thielecke 2023-10-05 20:48:01 +02:00
parent cc28018025
commit 9fa34eb854
Signed by: mthie
GPG Key ID: D1D25A85C8604DFB

View File

@ -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 ./...