diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a0a718..08acbd8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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