From 108c5f0dbcc31e6c513c04766b1b54136b2fc4b0 Mon Sep 17 00:00:00 2001 From: Steve Loveless Date: Fri, 24 May 2024 12:11:28 -0700 Subject: [PATCH] Move checkout step; trying to workaround ssh-agent bug https://github.com/webfactory/ssh-agent/issues/207 --- .github/workflows/rust-ci.yml | 4 ++-- .github/workflows/security-audit.yml | 2 +- .github/workflows/upload-release.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 9aee19a..f668e62 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -18,11 +18,11 @@ jobs: name: Test runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: Setup SSH uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.TELUS_AGCG_MACHINE_USER_KEY }} - - uses: actions/checkout@v4 - uses: actions/cache@v4 with: path: | @@ -45,11 +45,11 @@ jobs: env: DYLD_ROOT_PATH: "/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app" steps: + - uses: actions/checkout@v4 - name: Setup SSH uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.TELUS_AGCG_MACHINE_USER_KEY }} - - uses: actions/checkout@v4 - uses: actions/cache@v4 with: path: | diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index fc92307..491ba9e 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -21,11 +21,11 @@ jobs: security-audit: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: Setup SSH uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.TELUS_AGCG_MACHINE_USER_KEY }} - - uses: actions/checkout@v4 - uses: actions/cache@v4 with: path: | diff --git a/.github/workflows/upload-release.yml b/.github/workflows/upload-release.yml index 7172e9f..0a347b4 100644 --- a/.github/workflows/upload-release.yml +++ b/.github/workflows/upload-release.yml @@ -21,12 +21,12 @@ jobs: name: Upload Release Asset runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v4 - name: Setup SSH uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.TELUS_AGCG_MACHINE_USER_KEY }} - - name: Checkout code - uses: actions/checkout@v4 with: ref: ${{ env.TAG }} - uses: actions/cache@v4