Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to clippy-action and solve warnings #61

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ jobs:
# Skip linting on main, since it's not critical and should've already
# been checked before merging
if: ${{ github.ref != 'refs/heads/main' }}
uses: actions-rs/clippy-check@v1
uses: giraffate/clippy-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --workspace
github_token: ${{ secrets.GITHUB_TOKEN }}
filter_mode: nofilter
fail_on_error: true
clippy_flags: --all-features --workspace

- name: Run tests
run: cargo test --verbose
Expand Down
2 changes: 1 addition & 1 deletion providers/https/src/constants.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use const_format::formatcp;

pub use fiberplane_pdk::prelude::{CELLS_MIME_TYPE, STATUS_QUERY_TYPE};
pub use fiberplane_pdk::prelude::CELLS_MIME_TYPE;

pub const PERFORM_QUERY_TYPE: &str = "x-https-query";

Expand Down
Loading