diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c57c23b..e62c119 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -13,6 +13,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: Set up Rust nightly + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + profile: minimal + - name: Cache Rust dependencies uses: actions/cache@v3.0.2 with: @@ -22,12 +29,6 @@ jobs: restore-keys: | ${{ runner.os }}-rust- - - name: Set up Rust nightly - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true - profile: minimal - name: Install system dependencies run: |