You've already forked AstralRinth
forked from didirus/AstralRinth
Use Nightly + Cranelift for dev, only fail on warnings in CI (#4388)
* Switch to nightly + cranelift * Fail on warnings only in CI * Fix check errors * Don't use mold on Linux to fix CI * Pin nightly toolchain and add default rustup components * Fix another CI thing * PR comment
This commit is contained in:
@@ -1010,7 +1010,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn test_version_sorting() {
|
||||
let versions = vec![
|
||||
let versions = [
|
||||
get_version(4, None, months_ago(6)),
|
||||
get_version(3, None, months_ago(7)),
|
||||
get_version(2, Some(1), months_ago(6)),
|
||||
|
||||
@@ -73,12 +73,6 @@ pub struct InitialVersionData {
|
||||
pub ordering: Option<i32>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
struct InitialFileData {
|
||||
#[serde(default = "HashMap::new")]
|
||||
pub file_types: HashMap<String, Option<FileType>>,
|
||||
}
|
||||
|
||||
// under `/api/v1/version`
|
||||
#[post("version")]
|
||||
pub async fn version_create(
|
||||
|
||||
Reference in New Issue
Block a user