diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 89a0097..66b066f 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -14,7 +14,6 @@ jobs: - name: Check-out uses: actions/checkout@v2 - continue-on-error: true - name: Install stable toolchain uses: https://github.com/actions-rs/toolchain@v1 @@ -25,12 +24,23 @@ jobs: - name: Run cargo check uses: https://github.com/actions-rs/cargo@v1 - continue-on-error: true # WARNING: only for this example, remove it! with: command: check - - name: Ayo - run: ls -la + - name: Install nightly toolchain with clippy available + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + override: true + components: clippy + + - name: Run cargo clippy + uses: actions-rs/cargo@v1 + continue-on-error: true # WARNING: only for this example, remove it! + with: + command: clippy + args: -- -D warnings - name: Test run: cargo test