diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 1c359d27..21dd1f0c 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build application run: | @@ -36,7 +36,7 @@ jobs: cp bin/app.elf bin/solana_${{ matrix.sdk.name }}.elf - name: Upload application binaries - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: solana_binaries path: ./bin/solana_${{ matrix.sdk.name }}.elf @@ -49,12 +49,12 @@ jobs: container: image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build with Clang Static Analyzer run: | 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 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: scan-build @@ -66,9 +66,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download all binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 - name: Gather artifacts run: | mkdir tests/elfs @@ -85,9 +85,9 @@ jobs: name: C tests runs-on: ubuntu-latest container: - image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest + image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-legacy:latest steps: - name: Clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build unit tests run: make -C libsol diff --git a/.github/workflows/lint-workflow.yml b/.github/workflows/lint-workflow.yml index 975ed6f3..f7ac975c 100644 --- a/.github/workflows/lint-workflow.yml +++ b/.github/workflows/lint-workflow.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Lint src uses: DoozyX/clang-format-lint-action@v0.13 @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Check misspellings diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 6e5f5858..4b6e37b2 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -22,11 +22,11 @@ jobs: SONAR_SERVER_URL: "https://sonarcloud.io" BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 - name: Download and set up sonar-scanner @@ -37,7 +37,7 @@ jobs: apt-get upgrade -y DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata curl -sL https://deb.nodesource.com/setup_16.x | bash - - apt-get install -y gcovr nodejs unzip + apt-get install -y gcovr nodejs unzip lcov mkdir -p $HOME/.sonar curl -sSLo $HOME/.sonar/sonar-scanner.zip ${{ env.SONAR_SCANNER_DOWNLOAD_URL }} unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/