OK, it seems we have to specify a toolchain.

This commit is contained in:
Jonathan 'theJPster' Pallant 2021-12-05 18:26:44 +00:00
parent e7ed6855c9
commit 5b961db0ad

View File

@ -40,6 +40,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo test - run: cargo test
linting: linting:
name: Linting name: Linting
@ -50,7 +52,8 @@ jobs:
submodules: true submodules: true
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
components: clippy toolchain: stable
components: clippy
- uses: actions-rs/clippy-check@v1 - uses: actions-rs/clippy-check@v1
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
@ -64,5 +67,6 @@ jobs:
submodules: true submodules: true
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: stable
components: rustfmt components: rustfmt
- run: cargo fmt -- --check - run: cargo fmt -- --check