Skip to content

Commit

Permalink
Rework clippy steps
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Mar 27, 2024
1 parent 6e29374 commit 3074da8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ on: push
name: Clippy check
jobs:
clippy_check:
permissions:
checks: write
contents: read
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: sudo apt install protobuf-compiler redis
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion src/maple/gtfs_ingestion_sequence/shapes_into_postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub async fn shapes_into_postgres(
arc_conn_pool: Arc<CatenaryPostgresPool<'static>>,
chateau_id: &str,
attempt_id: &str,
) -> Result<(), Box<dyn Error>> {
) -> Result<(), Box<dyn Error + Send + Sync>> {
//establish a connection to the database
let conn_pool = arc_conn_pool.as_ref();
let conn_pre = conn_pool.get().await;
Expand Down

0 comments on commit 3074da8

Please sign in to comment.