diff --git a/.github/workflows/clippy_check.yml b/.github/workflows/clippy_check.yml index 34a45fc..f1bfba3 100644 --- a/.github/workflows/clippy_check.yml +++ b/.github/workflows/clippy_check.yml @@ -5,15 +5,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - id: component - uses: actions-rs/components-nightly@v1 - with: - component: clippy - uses: actions-rs/toolchain@v1 with: - toolchain: ${{ steps.component.outputs.toolchain }} + toolchain: nightly + components: clippy override: true - - run: rustup component add clippy - - uses: actions-rs/clippy-check@annotations + - uses: actions-rs/clippy-check@annotations-fallback with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/example/src/lib.rs b/example/src/lib.rs index 488b58a..55d6df8 100644 --- a/example/src/lib.rs +++ b/example/src/lib.rs @@ -38,4 +38,6 @@ mod tests { fn test_pid_is_working() { assert_eq!(pid() as u32, process::id()); } -} \ No newline at end of file +} + +// Triggering build