From 558900976210a0ba1d1e0952ac5e8e8e82567b17 Mon Sep 17 00:00:00 2001 From: Miguel Fernandez Date: Mon, 24 Apr 2023 16:12:42 +0200 Subject: [PATCH] Use manifest-path in absence of working-directory See https://github.com/actions-rs/clippy-check/issues/28#issuecomment-643018915 --- .github/workflows/quaint.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/quaint.yml b/.github/workflows/quaint.yml index e2fb405e112..447db967746 100644 --- a/.github/workflows/quaint.yml +++ b/.github/workflows/quaint.yml @@ -4,4 +4,21 @@ on: branches: - main pull_request: -jobs: \ No newline at end of file +jobs: + clippy: + runs-on: ubuntu-latest + env: + RUSTFLAGS: "-Dwarnings" + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + components: clippy + override: true + toolchain: stable + - name: Install dependencies + run: sudo apt install -y openssl libkrb5-dev + - uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --features=all --manifest-path quaint/Cargo.toml \ No newline at end of file