- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add GHA CICD #1449
Merged
+3,352
−2,455
Merged
Add GHA CICD #1449
Changes from 1 commit
Commits
Show all changes
139 commits
Select commit
Hold shift + click to select a range
c969bec
refactor ~ remove unneeded mem::uninitialized() code
rivy 1f137c2
refactor/polish ~ fix `cargo clippy` complaints (fatal/cast_ptr_align…
rivy 1f5749e
refactor/polish ~ fix `cargo clippy` complaints (fatal/same if clause)
rivy 6043ac1
refactor/polish ~ fix `cargo clippy` complaints (fatal/temporary_cstr…
rivy 181c9d6
refactor/polish ~ fix `cargo clippy` complaints (fatal/unneeded clone)
rivy 662db61
refactor/polish ~ fix `cargo clippy` complaints (fatal/unneeded drop)
rivy a9b1a03
refactor/polish ~ fix `cargo clippy` complaints (fatal/write_all)
rivy b276f47
refactor/polish ~ fix `cargo clippy` complaints (iter.collect => to_vec)
rivy 768ed71
refactor/polish ~ fix `cargo clippy` complaints (use b'...' notation)
rivy 493f5f1
refactor/polish ~ fix `cargo clippy` complaints (use `+=`/`-=` notation)
rivy ba5a243
refactor/polish ~ fix `cargo clippy` complaints (unneeded `_`)
rivy 291d2f5
refactor/polish ~ fix `cargo clippy` complaints ('better' as `println…
rivy 413c64f
refactor/polish ~ fix `cargo clippy` complaints ('better' as `println…
rivy c6817ae
refactor/polish ~ fix `cargo clippy` complaints (or_else)
rivy c6e9808
refactor/polish ~ fix `cargo clippy` complaints (match function signa…
rivy 3c2e609
refactor/polish ~ fix `cargo clippy` complaints (use `values()`)
rivy 88db11a
refactor/polish ~ fix `cargo clippy` complaints (negation instead of …
rivy 1642933
refactor/polish ~ fix `cargo clippy` complaints (if is_none => as_ref…
rivy 90a64a8
refactor/polish ~ fix `cargo clippy` complaints (for in => iter.take)
rivy 2d95cfd
refactor/polish ~ fix `cargo clippy` complaints (remove allow unused_…
rivy 4ddc65f
refactor/polish ~ fix `cargo clippy` complaints (String => str)
rivy d192ebe
refactor/polish ~ fix `cargo clippy` complaints (unwrap_or_else)
rivy 8142ecf
refactor/polish ~ fix `cargo clippy` complaints (default/tests => `le…
rivy e676447
refactor/polish ~ fix `cargo clippy` complaints (`while let ... = som…
rivy 3bff709
refactor/polish ~ fix `cargo clippy` complaints (use `starts_with()`)
rivy 25b1f98
refactor/polish ~ fix `cargo clippy` complaints (unneeded `format`)
rivy bc558f3
refactor/polish ~ fix `cargo clippy` complaints (unneeded `mut`)
rivy 1216378
refactor/polish ~ fix `cargo clippy` complaints (unneeded ref for cop…
rivy bf63682
refactor/polish ~ fix `cargo clippy` complaints (unneeded parens)
rivy 3da2a69
refactor/polish ~ fix `cargo clippy` complaints (unneeded `String::fr…
rivy 11d68d3
refactor/polish ~ fix `cargo clippy` complaints (number readability)
rivy ec5ca19
refactor/polish ~ fix `cargo clippy` complaints (char not string)
rivy a72422f
refactor/polish ~ fix `cargo clippy` complaints (Vec<> => [])
rivy ea8ed8d
refactor/polish ~ fix `cargo clippy` complaints (&Vec => &[])
rivy fa8540c
refactor/polish ~ fix `cargo clippy` complaints (DRY struct def)
rivy 2e90c78
refactor/polish ~ fix `cargo clippy` complaints (redundant closure)
rivy 564168c
refactor/polish ~ fix `cargo clippy` complaints (redundant clone)
rivy 88a45a1
refactor/polish ~ fix `cargo clippy` complaints (redundant return)
rivy 94c088f
refactor/polish ~ fix `cargo clippy` complaints (redundant return var…
rivy ab87a1a
refactor/polish ~ fix `cargo clippy` complaints ('better' ref indirec…
rivy 8c97f0e
refactor/polish ~ fix `cargo clippy` complaints ('better' match indir…
rivy 2db6fb2
refactor/polish ~ fix `cargo clippy` complaints (needless_lifetimes)
rivy b8eb763
refactor/polish ~ fix `cargo clippy` complaints (collapse else-if)
rivy b003d55
refactor/polish ~ fix `cargo clippy` complaints (collapse if-if)
rivy 2931c80
refactor/polish ~ fix `cargo clippy` complaints (collapse equal if bl…
rivy bb15dcf
refactor/polish ~ fix `cargo clippy` complaints (use is_empty / is_none)
rivy 8b18b7c
refactor/polish ~ fix `cargo clippy` complaints (use is_null)
rivy 739c2d5
refactor/polish ~ fix `cargo clippy` complaints (use is_ok)
rivy 600c404
refactor/polish ~ fix `cargo clippy` complaints (map => if let)
rivy 3bddf84
refactor/polish ~ fix `cargo clippy` complaints (match => if let)
rivy 98039f1
refactor/polish ~ fix `cargo clippy` complaints (String => str)
rivy fd8e5ac
refactor/polish ~ fix `cargo clippy` complaints (loop/match => while …
rivy 82dc40f
refactor/polish ~ fix `cargo clippy` complaints (simplify enum elemen…
rivy 55b3e4e
refactor/polish ~ fix `cargo clippy` complaints (simplify enum elemen…
rivy 6612445
refactor/polish ~ fix `cargo clippy` complaints (remove `->()`)
rivy d343d53
refactor/polish ~ fix `cargo clippy` complaints (avoid `as ...`)
rivy 33e5d8c
refactor/polish ~ fix `cargo clippy` complaints (into_iter => iter)
rivy de9d702
refactor/polish ~ fix `cargo clippy` complaints (use enumerate)
rivy f933c60
refactor/polish ~ fix `cargo clippy` complaints (filter_map => filter)
rivy aa2ed76
refactor/polish ~ fix `cargo clippy` complaints (unneeded transmute)
rivy 3344060
refactor/polish ~ fix `cargo clippy` complaints (remove useless lint …
rivy 8ec50b7
refactor/polish ~ fix `cargo clippy` complaints (inefficient `to_stri…
rivy 7cc3571
refactor/polish ~ fix `cargo clippy` complaints (remove unit value as…
rivy 2ef9c9a
refactor/polish ~ fix `cargo clippy` complaints (unnecessary_unwrap)
rivy 248dfba
refactor/polish ~ fix `cargo clippy` complaints (comparison_chain)
rivy bffea95
refactor/polish ~ fix `cargo clippy` complaints (zero_ptr)
rivy 37a3db1
refactor/polish ~ fix `cargo clippy` complaints (flat_map_identity)
rivy 8f2cdcf
refactor/polish ~ fix `cargo clippy` complaints (trivially_copy_pass_…
rivy 6131f6f
refactor/polish ~ fix `cargo clippy` complaints (borrowed_box)
rivy 1deac8d
refactor/polish ~ fix `cargo clippy` complaints (new_ret_no_self)
rivy 58779be
refactor/polish ~ fix `cargo clippy` complaints (transmute_ptr_to_ptr)
rivy 37c9b0e
refactor/polish ~ fix `cargo clippy` complaints ('better' ref use/top…
rivy 5094d6f
refactor/polish ~ fix `cargo clippy` complaints (allow complexity)
rivy 784887c
refactor/polish ~ fix `cargo clippy` complaints (allow comparison_chain)
rivy 5241eca
refactor/polish ~ fix `cargo clippy` complaints (allow comparison_cha…
rivy a90e1ab
refactor/polish ~ fix `cargo clippy` complaints (allow enum_variant_n…
rivy 44a60f7
refactor/polish ~ fix `cargo clippy` complaints (allow 'let_and_return')
rivy 99ce03f
refactor/polish ~ fix `cargo clippy` complaints (allow many_single_ch…
rivy df68c39
refactor/polish ~ fix `cargo clippy` complaints (allow map_clone)
rivy cc49983
refactor/polish ~ fix `cargo clippy` complaints (allow missing_safety…
rivy e80970c
refactor/polish ~ fix `cargo clippy` complaints (allow module_inception)
rivy b8c0711
refactor/polish ~ fix `cargo clippy` complaints (allow ptr_arg)
rivy 522d3ae
refactor/polish ~ fix `cargo clippy` complaints (allow ptr_arg)
rivy 6230ab3
refactor/polish ~ fix `cargo clippy` complaints (allow range_plus_one…
rivy 6c7c478
refactor/polish ~ fix `cargo clippy` complaints (allow single_match)
rivy 372ddf9
refactor/polish ~ fix `cargo clippy` complaints (allow too_many_args)
rivy d82a170
refactor/polish ~ fix `cargo clippy` complaints (allow unreadable_lit…
rivy 082f952
refactor/polish ~ fix `cargo clippy` complaints (allow useless_let_if…
rivy a6bdad3
refactor/polish ~ fix `cargo clippy` complaints (allow deprecated mem…
rivy b4866af
refactor/polish ~ fix `cargo clippy` complaints (deprecated uint64_t)
rivy daecc56
refactor/polish ~ fix `cargo clippy` complaints (unwrap_or_else)
rivy 15722e3
refactor/polish ~ fix `cargo clippy` complaints (unused imports)
rivy 5af8503
`cargo fmt`
rivy b7a3c4d
maint/build ~ refactor feature strategy (allows simple `cargo build` …
rivy a529d4c
maint/CICD ~ refactor/fix Travis CI to use new 'feature' set
rivy ca7d565
maint/build ~ add dev helper scripts to derive available utils for fe…
rivy 0083aa9
maint/build ~ much improved `cargo-make` build file (Makefile.toml)
rivy 83a2c9d
maint/CICD ~ minor AppVeyor changes (spelling/comments)
rivy ebc29e8
maint/CICD ~ add GitHub:Actions (GHA) CICD
rivy 1d26e90
fix 32-bit/i686 target builds
rivy 3ae3d11
upgrade nix (0.13.0 => 0.13.1); fixes arm build failure
rivy bcc1cc0
tests ~ fix CICD 'macos' test variation
rivy 6adddcf
tests ~ fix CICD 'linux' test variations (whitespace variations)
rivy 3ec47ff
tests ~ refactor real{link,path} tests for easier diagnosis of failures
rivy e894214
fix forced MinSRV increase (using locked 'backtrace' version)
rivy b5d541a
refactor/polish ~ inhibit useless warning (within 'tests/tests.rs')
rivy c4a69f2
refactor/polish ~ fix `cargo clippy` complaints (allow trivially_copy…
rivy 75f05df
refactor/polish ~ fix `cargo clippy` complaints (redundant_static_lif…
rivy 9b145bb
refactor/polish ~ fix `cargo clippy` complaints (unreadable_literal)
rivy 84e26b3
refactor/polish ~ fix `cargo clippy` complaints (or_fun_call)
rivy 0fdf27c
refactor/polish ~ fix `cargo clippy` complaints (iter_skip_next)
rivy 080cbb5
refactor/polish ~ fix `cargo clippy` complaints (string_lit_as_bytes)
rivy c484fb8
refactor/polish ~ fix `cargo clippy` complaints (missing_safety_doc; …
rivy 0635c5f
refactor/polish ~ fix `cargo clippy` complaints (unused_parens)
rivy ce0bb21
refactor/polish ~ fix `cargo clippy` complaints (deprecated std::erro…
rivy ecc895e
refactor/polish ~ fix `cargo clippy` complaints (iter_nth_zero)
rivy 5224c3c
refactor/polish ~ fix `rustc` complaints (unused_parens)
rivy 0cf704a
refactor/polish ~ fix `cargo clippy` complaints (wildcard_in_or_patt)
rivy 9675add
refactor/polish ~ fix `cargo clippy` complaints (skip_while_next)
rivy 7e15375
refactor ~ clean up main directory (move '{mk,uu}main.rs' into src/#c…
rivy 641017f
maint/CICD ~ improve PR support for AppVeyor CI builds
rivy b57ee7e
maint/CICD ~ fix features option for GHA
rivy 69408fc
maint/CICD ~ fix MinSRV testing (use correct toolchain)
rivy 05c8294
maint/CICD ~ generalize README and LICENSE matches for use in dpkg bu…
rivy 4cf8487
maint/CICD ~ improve tooling info display and include build dependenc…
rivy ab9da0a
maint/CICD ~ fix GITHUB_REF parsing
rivy 97de0df
maint/build ~ improve `cargo-make` build file organization and help text
rivy 57ef582
maint/build ~ polish and comment 'features'
rivy ab9eb31
maint/build ~ refactor dependencies into sorted order
rivy 1c97a29
maint/build ~ refactor dependency specifications (sorted, single line…
rivy 78d55f0
refactor/polish ~ fix `cargo clippy` complaints (fix/remove allow ran…
rivy 156502a
refactor ~ reduce excessive use of scope prefixes
rivy ecb8f28
refactor ~ change repair of 'fix `cargo clippy` complaints (fatal/sam…
rivy 84f05f2
expand: refactor/polish ~ simplify if condition
rivy 3e3dff3
ls: refactor ~ improve line bundling of imports
rivy d704fb2
printf: refactor ~ remove redundant string allocation
rivy b8da0d7
maint/docs ~ add license notation to all workspace packages
rivy 7eeb58a
maint/docs ~ add spell-checker exceptions
rivy 6a18d7f
update ~ (maint!) use fixed/patched uucore (v0.0.2); await upgrade up…
rivy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor ~ change repair of 'fix
cargo clippy
complaints (fatal/sam…
…e if clause)' .# [why] The initial refactoring/repair led to comments within if conditions which is objectionable to some of the devs. So, this changes the refactor to completely split the if clauses into separate if statements (with corresponding commentary). Note: this refactor is "less mechanical" and does increase the risk of changing the actual effect of the code. But the change is small and the tests are passing.
commit ecb8f2873a8bd97664c1a7a59096fe073b1aba5c
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, I strongly dislike these comments in the middle of the conditions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternate fix, by completely splitting the if statement, implemented and committed.