diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9d94a676..c5feac8fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,10 +29,12 @@ jobs: run: make check test: - runs-on: ubuntu-latest + runs-on: ${{ fromJSON(github.repository == 'filecoin-project/builtin-actors' && '["self-hosted", "linux", "x64", "4xlarge"]' || '"ubuntu-latest"') }} steps: - name: Checking out uses: actions/checkout@v3 + - if: env.RUNNER_ENVIRONMENT != 'github-hosted' + uses: dtolnay/rust-toolchain@stable - name: Running tests run: | cargo test --locked --all --no-fail-fast --exclude=fil_builtin_actors_bundle