Skip to content

Commit

Permalink
build update
Browse files Browse the repository at this point in the history
  • Loading branch information
sagiegurari committed Jan 13, 2024
1 parent d0abb7d commit 0ef525d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,12 @@ jobs:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: --debug cargo-make
run: cargo install --debug cargo-make
- name: Run CI
if: matrix.rust != 'nightly'
uses: actions-rs/cargo@v1
with:
command: make
args: ci-flow
- name: Run CI (Allow Failures)
if: matrix.rust == 'nightly'
continue-on-error: true
uses: actions-rs/cargo@v1
with:
command: make
args: ci-flow
run: cargo make ci-flow
27 changes: 22 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#![deny(
absolute_paths_not_starting_with_crate,
ambiguous_associated_items,
ambiguous_glob_imports,
ambiguous_glob_reexports,
ambiguous_wide_pointer_comparisons,
anonymous_parameters,
arithmetic_overflow,
array_into_iter,
asm_sub_register,
async_fn_in_trait,
bad_asm_style,
bindings_with_variant_name,
break_with_label_and_loop,
Expand All @@ -17,6 +20,7 @@
confusable_idents,
const_evaluatable_unchecked,
const_item_mutation,
const_patterns_without_partial_eq,
dead_code,
deprecated,
deprecated_cfg_attr_crate_type_name,
Expand All @@ -29,6 +33,7 @@
dropping_references,
duplicate_macro_attributes,
dyn_drop,
elided_lifetimes_in_associated_constant,
ellipsis_inclusive_range_patterns,
enum_intrinsics_non_enums,
explicit_outlives_requirements,
Expand All @@ -39,20 +44,24 @@
forgetting_copy_types,
forgetting_references,
function_item_references,
hidden_glob_reexports,
ill_formed_attribute_input,
illegal_floating_point_literal_pattern,
implied_bounds_entailment,
improper_ctypes,
improper_ctypes_definitions,
incomplete_features,
incomplete_include,
indirect_structural_match,
ineffective_unstable_trait_impl,
inline_no_sanitize,
invalid_alignment,
internal_features,
invalid_atomic_ordering,
invalid_doc_attributes,
invalid_from_utf8,
invalid_from_utf8_unchecked,
invalid_macro_export_arguments,
invalid_nan_comparisons,
invalid_reference_casting,
invalid_type_param_default,
invalid_value,
irrefutable_let_patterns,
Expand All @@ -62,6 +71,7 @@
legacy_derive_helpers,
let_underscore_drop,
let_underscore_lock,
long_running_const_eval,
macro_expanded_macro_exports_accessed_by_absolute_paths,
map_unit_fn,
meta_variable_misuse,
Expand Down Expand Up @@ -90,11 +100,13 @@
path_statements,
patterns_in_fns_without_body,
pointer_structural_match,
private_in_public,
private_bounds,
private_interfaces,
proc_macro_back_compat,
proc_macro_derive_resolution_fallback,
pub_use_of_private_extern_crate,
redundant_semicolons,
refining_impl_trait,
repr_transparent_external_private_fields,
rust_2021_incompatible_closure_captures,
rust_2021_incompatible_or_patterns,
Expand All @@ -104,6 +116,7 @@
soft_unstable,
special_module_name,
stable_features,
static_mut_ref,
suspicious_auto_trait_impls,
suspicious_double_ref_op,
temporary_cstring_as_ptr,
Expand All @@ -118,9 +131,11 @@
unconditional_panic,
unconditional_recursion,
undefined_naked_function_abi,
undropped_manually_drops,
unexpected_cfgs,
ungated_async_fn_track_caller,
uninhabited_static,
unit_bindings,
unknown_crate_types,
unnameable_test_items,
unreachable_code,
Expand All @@ -135,6 +150,7 @@
unused_allocation,
unused_assignments,
unused_assignments,
unused_associated_type_bounds,
unused_attributes,
unused_braces,
unused_comparisons,
Expand All @@ -152,12 +168,13 @@
unused_mut,
unused_parens,
unused_qualifications,
unused_tuple_struct_fields,
unused_unsafe,
unused_variables,
useless_deprecated,
useless_ptr_null_checks,
where_clauses_object_safety,
while_true
while_true,
writes_through_immutable_pointer
)]
#![warn(macro_use_extern_crate, unknown_lints)]
#![allow(
Expand Down

0 comments on commit 0ef525d

Please sign in to comment.