Fix the CI.

This commit is contained in:
Nicolas Patry 2023-12-29 10:17:52 +01:00
parent 1e442d4bb9
commit a6bd0b47a5
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,8 @@ jobs:
start-runner:
name: Start self-hosted EC2 runner
runs-on: ubuntu-latest
# Don't run on forks, they won't have access to secrets anyway.
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
env:
AWS_REGION: us-east-1
EC2_AMI_ID: ami-03cfed9ea28f4b002

View File

@ -40,6 +40,8 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- uses: actions-rs/cargo@v1
with:
command: test