From e5c58302fa251a72d7ae2fc9add604197cfd2935 Mon Sep 17 00:00:00 2001 From: hatz Date: Mon, 9 Sep 2024 11:06:39 -0500 Subject: [PATCH] Migrate to shared-actions `v2` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > [!IMPORTANT] > **Please thoroughly review this PR before approving and merging** > This migration is complicated and may require some manual changes. Below we will call out breaking changes and other important notes. This PR moves all workflows to the new shared-actions v2. Please check out the following docs for more information on this migration: - [Migration Guide](https://docs.devops.figure.com/shared-actions/v2-migration-guide) - [Migration Changes](https://docs.devops.figure.com/shared-actions/v2-migration-changes) Please reach out to [#github-actions-help](https://figure-group.slack.com/archives/C044W9BRAVD) with any and all questions, someone from devops or core tech will be able to help. --- ### Notes - Once you've merged in this PR and are running `v2` actions it is worth watching your workflows for warnings about inputs that are no longer used. We are able to handle a lot of replacements automatically, but we err on the side of caution to avoid breaking other github actions that we don't own. These warnings won't ever break your builds, but it is good practice to keep them clean. 🤖🪄 This PR was automatically created by a magic script. --- .github/workflows/rust.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 009dca7..65678c0 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: toolchain uses: actions-rs/toolchain@v1 with: @@ -43,7 +43,7 @@ jobs: with: fail_ci_if_error: false - name: archive code coverage results - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: code-coverage-report path: cobertura.xml @@ -54,7 +54,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: optimize run: make optimize - name : release @@ -71,7 +71,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/t') steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: optimize run: make optimize - name : test-release @@ -81,4 +81,4 @@ jobs: with: files: | artifacts/marketpalace_raise_contract.wasm - artifacts/checksums.txt \ No newline at end of file + artifacts/checksums.txt