diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 92388a2d..b4a73fb4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,10 +30,6 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.11" - - name: Install rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - name: Lint and format 💅 uses: cpp-linter/cpp-linter-action@v2 id: linter diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e64e430b..62bd5f80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -67,10 +67,6 @@ jobs: uses: actions/checkout@v4 with: submodules: true - - name: Install rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - name: Build Standard app id: build shell: bash -l {0} @@ -144,10 +140,6 @@ jobs: submodules: true - name: Install deps run: pip install ledgerblue - - name: Install rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - name: Build NanoS shell: bash -l {0} run: | @@ -183,11 +175,6 @@ jobs: submodules: true - name: Install deps run: pip install ledgerblue - - - name: Install rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - name: Build NanoSP shell: bash -l {0} run: | @@ -210,7 +197,7 @@ jobs: build_package_stax: needs: [configure, build, build_ledger, test_zemu] if: ${{ github.ref == 'refs/heads/main' }} - runs-on: zondax-runners + runs-on: ${{ github.repository_owner == 'zondax' && 'zondax-runners' || 'ubuntu-latest' }} container: image: zondax/ledger-app-builder:latest options: --user ${{ needs.configure.outputs.uid_gid }} @@ -223,11 +210,6 @@ jobs: submodules: true - name: Install deps run: pip install ledgerblue - - - name: Install rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - name: Build Stax shell: bash -l {0} run: | diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3d8f9142..e203dcf7 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -9,7 +9,7 @@ on: jobs: publish_npm_package: - runs-on: ubuntu-latest + runs-on: ${{ github.repository_owner == 'zondax' && 'zondax-runners' || 'ubuntu-latest' }} steps: - name: Checkout uses: actions/checkout@v4