From 1a506f8dd457d79b0d90e42041bc266af48047a1 Mon Sep 17 00:00:00 2001 From: Charles-Edouard de la Vergne Date: Mon, 18 Mar 2024 17:21:22 +0100 Subject: [PATCH] Fix called actions versions --- .github/workflows/ci-workflow.yml | 16 ++++++++-------- .github/workflows/pr_on_all_plugins.yml | 6 +++--- .github/workflows/python-client.yml | 6 +++--- .github/workflows/sdk-generation.yml | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 3da29f0bf0..29cf364b8f 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -22,7 +22,7 @@ jobs: image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build testing binaries run: | @@ -30,7 +30,7 @@ jobs: cd tests/zemu/ && ./build_local_test_elfs.sh - name: Upload app binaries - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: e2e_zemu_elfs path: ./tests/zemu/elfs/ @@ -42,7 +42,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install additional tools run: sudo apt-get update -y && sudo apt-get install -y libusb-1.0.0 libudev-dev @@ -62,7 +62,7 @@ jobs: run: mkdir tests/zemu/elfs - name: Download app binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: tmp/ @@ -84,7 +84,7 @@ jobs: image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build testing binaries run: | @@ -94,7 +94,7 @@ jobs: make clean && make -j DEBUG=1 NFT_STAGING_KEY=1 BOLOS_SDK=$NANOSP_SDK && mv bin/app.elf tests/speculos/elfs/nanosp.elf - name: Upload app binaries - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: e2e_speculos_elfs path: ./tests/speculos/elfs @@ -112,13 +112,13 @@ jobs: steps: - name: Clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create tmp folder for artifacts run: mkdir tests/speculos/elfs - name: Download app binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: tmp/ diff --git a/.github/workflows/pr_on_all_plugins.yml b/.github/workflows/pr_on_all_plugins.yml index 3db1bbe03a..7618cdd6d2 100644 --- a/.github/workflows/pr_on_all_plugins.yml +++ b/.github/workflows/pr_on_all_plugins.yml @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout SDK repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: LedgerHQ/ethereum-plugin-sdk ref: develop @@ -96,7 +96,7 @@ jobs: steps: - name: Checkout plugin repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: LedgerHQ/${{ matrix.repo }} submodules: recursive @@ -144,7 +144,7 @@ jobs: gh label create 'auto' --color 'b4a8d1' --description 'Automatically created' fi - - name: Create pull request and commment on SDK issue + - name: Create pull request and comment on SDK issue run: | # Github limits the number of possible PR being opened in a given time window. # The limits are 20 creation per minute and 150 per hour. diff --git a/.github/workflows/python-client.yml b/.github/workflows/python-client.yml index 248c804056..2c8745bb94 100644 --- a/.github/workflows/python-client.yml +++ b/.github/workflows/python-client.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 - run: pip install flake8 flake8-pyproject - name: Flake8 lint Python code run: (cd client && flake8 src/) @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 - run: pip install mypy - name: Mypy type checking run: (cd client && mypy src/) @@ -45,7 +45,7 @@ jobs: steps: - name: Clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/sdk-generation.yml b/.github/workflows/sdk-generation.yml index 363c89b0e7..afefb30196 100644 --- a/.github/workflows/sdk-generation.yml +++ b/.github/workflows/sdk-generation.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # by default the action uses fetch-depth = 1, which creates # shallow repositories from which we can't push