diff --git a/.github/workflows/docker-compile.yml b/.github/workflows/docker-compile.yml index 80783460..d4e05cf4 100644 --- a/.github/workflows/docker-compile.yml +++ b/.github/workflows/docker-compile.yml @@ -1,9 +1,6 @@ name: Docker image build on: - push: - branches-ignore: - - master pull_request: env: CARGO_TERM_COLOR: always diff --git a/src/routes/versions.rs b/src/routes/versions.rs index 8be15e13..1c2461c1 100644 --- a/src/routes/versions.rs +++ b/src/routes/versions.rs @@ -7,8 +7,8 @@ use crate::{database, Pepper}; use actix_web::{delete, get, patch, web, HttpRequest, HttpResponse}; use serde::{Deserialize, Serialize}; use sqlx::PgPool; -use std::sync::Arc; use std::borrow::Borrow; +use std::sync::Arc; // TODO: this needs filtering, and a better response type // Currently it only gives a list of ids, which have to be @@ -634,6 +634,7 @@ pub struct DownloadRedirect { } // under /api/v1/version_file/{hash}/download +#[allow(clippy::await_holding_refcell_ref)] #[get("{version_id}/download")] pub async fn download_version( req: HttpRequest,