fix github workflow to use rust nightly

This commit is contained in:
Benjamin Kyd
2023-07-12 21:01:42 +01:00
parent 4ae6a02181
commit 58ba71e514

View File

@@ -1,4 +1,4 @@
name: Rust
name: Rust nightly
on:
push:
@@ -10,9 +10,20 @@ env:
CARGO_TERM_COLOR: always
jobs:
build:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- uses: actions/checkout@v2
- id: component
uses: actions-rs/components-nightly@v1
with:
component: clippy
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check