Merge pull request #370 from LedgerHQ/apr/ci/fix_deprecation_warnings
Update actions to fix deprecation warnings
This commit is contained in:
2
.github/workflows/auto-author-assign.yml
vendored
2
.github/workflows/auto-author-assign.yml
vendored
@@ -11,4 +11,4 @@ jobs:
|
|||||||
assign-author:
|
assign-author:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: toshimaru/auto-author-assign@v1.4.0
|
- uses: toshimaru/auto-author-assign@v1
|
||||||
|
|||||||
2
.github/workflows/build-workflow.yml
vendored
2
.github/workflows/build-workflow.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build Ethereum
|
- name: Build Ethereum
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
32
.github/workflows/ci-workflow.yml
vendored
32
.github/workflows/ci-workflow.yml
vendored
@@ -18,14 +18,14 @@ jobs:
|
|||||||
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
|
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build with Clang Static Analyzer
|
- name: Build with Clang Static Analyzer
|
||||||
run: |
|
run: |
|
||||||
make clean
|
make clean
|
||||||
scan-build --use-cc=clang -analyze-headers -enable-checker security -enable-checker unix -enable-checker valist -o scan-build --status-bugs make default
|
scan-build --use-cc=clang -analyze-headers -enable-checker security -enable-checker unix -enable-checker valist -o scan-build --status-bugs make default
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: scan-build
|
name: scan-build
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
|
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build testing binaries
|
- name: Build testing binaries
|
||||||
run: |
|
run: |
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
cd tests/zemu/ && ./build_local_test_elfs.sh
|
cd tests/zemu/ && ./build_local_test_elfs.sh
|
||||||
|
|
||||||
- name: Upload app binaries
|
- name: Upload app binaries
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: e2e_zemu_elfs
|
name: e2e_zemu_elfs
|
||||||
path: ./tests/zemu/elfs/
|
path: ./tests/zemu/elfs/
|
||||||
@@ -68,12 +68,12 @@ jobs:
|
|||||||
echo $DISPLAY
|
echo $DISPLAY
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- run: sudo apt-get update -y && sudo apt-get install -y libusb-1.0.0 libudev-dev
|
- run: sudo apt-get update -y && sudo apt-get install -y libusb-1.0.0 libudev-dev
|
||||||
|
|
||||||
- name: Install node
|
- name: Install node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "14.4.0"
|
node-version: "14.4.0"
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ jobs:
|
|||||||
run: mkdir tests/zemu/elfs
|
run: mkdir tests/zemu/elfs
|
||||||
|
|
||||||
- name: Download app binaries
|
- name: Download app binaries
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: tmp/
|
path: tmp/
|
||||||
|
|
||||||
@@ -109,7 +109,7 @@ jobs:
|
|||||||
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
|
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build testing binaries
|
- name: Build testing binaries
|
||||||
run: |
|
run: |
|
||||||
@@ -119,7 +119,7 @@ jobs:
|
|||||||
make clean && make -j DEBUG=1 NFT_TESTING_KEY=1 BOLOS_SDK=$NANOSP_SDK && mv bin/app.elf tests/speculos/elfs/nanosp.elf
|
make clean && make -j DEBUG=1 NFT_TESTING_KEY=1 BOLOS_SDK=$NANOSP_SDK && mv bin/app.elf tests/speculos/elfs/nanosp.elf
|
||||||
|
|
||||||
- name: Upload app binaries
|
- name: Upload app binaries
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: e2e_speculos_elfs
|
name: e2e_speculos_elfs
|
||||||
path: ./tests/speculos/elfs
|
path: ./tests/speculos/elfs
|
||||||
@@ -136,13 +136,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Create tmp folder for artifacts
|
- name: Create tmp folder for artifacts
|
||||||
run: mkdir tests/speculos/elfs
|
run: mkdir tests/speculos/elfs
|
||||||
|
|
||||||
- name: Download app binaries
|
- name: Download app binaries
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: tmp/
|
path: tmp/
|
||||||
|
|
||||||
@@ -173,7 +173,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build test binaries
|
- name: Build test binaries
|
||||||
run: |
|
run: |
|
||||||
@@ -187,7 +187,7 @@ jobs:
|
|||||||
mv bin/app.elf app-nanosp.elf
|
mv bin/app.elf app-nanosp.elf
|
||||||
|
|
||||||
- name: Upload app binaries
|
- name: Upload app binaries
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ragger_elfs
|
name: ragger_elfs
|
||||||
path: ./app-*.elf
|
path: ./app-*.elf
|
||||||
@@ -198,7 +198,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: APT update
|
- name: APT update
|
||||||
run: |
|
run: |
|
||||||
@@ -243,10 +243,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Download previously built artifacts
|
- name: Download previously built artifacts
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ragger_elfs
|
name: ragger_elfs
|
||||||
path: tmp/
|
path: tmp/
|
||||||
|
|||||||
2
.github/workflows/lint-workflow.yml
vendored
2
.github/workflows/lint-workflow.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
uses: DoozyX/clang-format-lint-action@v0.14
|
uses: DoozyX/clang-format-lint-action@v0.14
|
||||||
|
|||||||
2
.github/workflows/sdk-generation.yml
vendored
2
.github/workflows/sdk-generation.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# by default the action uses fetch-depth = 1, which creates
|
# by default the action uses fetch-depth = 1, which creates
|
||||||
# shallow repositories from which we can't push
|
# shallow repositories from which we can't push
|
||||||
|
|||||||
Reference in New Issue
Block a user