Skip to content
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
merged 139 commits into from
Apr 13, 2020
Merged
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 Dec 22, 2019
1f137c2
refactor/polish ~ fix `cargo clippy` complaints (fatal/cast_ptr_align…
rivy Dec 28, 2019
1f5749e
refactor/polish ~ fix `cargo clippy` complaints (fatal/same if clause)
rivy Dec 20, 2019
6043ac1
refactor/polish ~ fix `cargo clippy` complaints (fatal/temporary_cstr…
rivy Dec 30, 2019
181c9d6
refactor/polish ~ fix `cargo clippy` complaints (fatal/unneeded clone)
rivy Dec 20, 2019
662db61
refactor/polish ~ fix `cargo clippy` complaints (fatal/unneeded drop)
rivy Dec 20, 2019
a9b1a03
refactor/polish ~ fix `cargo clippy` complaints (fatal/write_all)
rivy Dec 21, 2019
b276f47
refactor/polish ~ fix `cargo clippy` complaints (iter.collect => to_vec)
rivy Dec 28, 2019
768ed71
refactor/polish ~ fix `cargo clippy` complaints (use b'...' notation)
rivy Dec 28, 2019
493f5f1
refactor/polish ~ fix `cargo clippy` complaints (use `+=`/`-=` notation)
rivy Dec 28, 2019
ba5a243
refactor/polish ~ fix `cargo clippy` complaints (unneeded `_`)
rivy Dec 28, 2019
291d2f5
refactor/polish ~ fix `cargo clippy` complaints ('better' as `println…
rivy Dec 28, 2019
413c64f
refactor/polish ~ fix `cargo clippy` complaints ('better' as `println…
rivy Dec 28, 2019
c6817ae
refactor/polish ~ fix `cargo clippy` complaints (or_else)
rivy Dec 28, 2019
c6e9808
refactor/polish ~ fix `cargo clippy` complaints (match function signa…
rivy Dec 28, 2019
3c2e609
refactor/polish ~ fix `cargo clippy` complaints (use `values()`)
rivy Dec 28, 2019
88db11a
refactor/polish ~ fix `cargo clippy` complaints (negation instead of …
rivy Dec 27, 2019
1642933
refactor/polish ~ fix `cargo clippy` complaints (if is_none => as_ref…
rivy Dec 27, 2019
90a64a8
refactor/polish ~ fix `cargo clippy` complaints (for in => iter.take)
rivy Dec 27, 2019
2d95cfd
refactor/polish ~ fix `cargo clippy` complaints (remove allow unused_…
rivy Dec 27, 2019
4ddc65f
refactor/polish ~ fix `cargo clippy` complaints (String => str)
rivy Dec 27, 2019
d192ebe
refactor/polish ~ fix `cargo clippy` complaints (unwrap_or_else)
rivy Dec 27, 2019
8142ecf
refactor/polish ~ fix `cargo clippy` complaints (default/tests => `le…
rivy Dec 26, 2019
e676447
refactor/polish ~ fix `cargo clippy` complaints (`while let ... = som…
rivy Dec 26, 2019
3bff709
refactor/polish ~ fix `cargo clippy` complaints (use `starts_with()`)
rivy Dec 26, 2019
25b1f98
refactor/polish ~ fix `cargo clippy` complaints (unneeded `format`)
rivy Dec 28, 2019
bc558f3
refactor/polish ~ fix `cargo clippy` complaints (unneeded `mut`)
rivy Dec 26, 2019
1216378
refactor/polish ~ fix `cargo clippy` complaints (unneeded ref for cop…
rivy Dec 26, 2019
bf63682
refactor/polish ~ fix `cargo clippy` complaints (unneeded parens)
rivy Dec 26, 2019
3da2a69
refactor/polish ~ fix `cargo clippy` complaints (unneeded `String::fr…
rivy Dec 28, 2019
11d68d3
refactor/polish ~ fix `cargo clippy` complaints (number readability)
rivy Dec 26, 2019
ec5ca19
refactor/polish ~ fix `cargo clippy` complaints (char not string)
rivy Dec 26, 2019
a72422f
refactor/polish ~ fix `cargo clippy` complaints (Vec<> => [])
rivy Dec 28, 2019
ea8ed8d
refactor/polish ~ fix `cargo clippy` complaints (&Vec => &[])
rivy Dec 26, 2019
fa8540c
refactor/polish ~ fix `cargo clippy` complaints (DRY struct def)
rivy Dec 26, 2019
2e90c78
refactor/polish ~ fix `cargo clippy` complaints (redundant closure)
rivy Dec 26, 2019
564168c
refactor/polish ~ fix `cargo clippy` complaints (redundant clone)
rivy Dec 29, 2019
88a45a1
refactor/polish ~ fix `cargo clippy` complaints (redundant return)
rivy Dec 26, 2019
94c088f
refactor/polish ~ fix `cargo clippy` complaints (redundant return var…
rivy Dec 28, 2019
ab87a1a
refactor/polish ~ fix `cargo clippy` complaints ('better' ref indirec…
rivy Dec 26, 2019
8c97f0e
refactor/polish ~ fix `cargo clippy` complaints ('better' match indir…
rivy Dec 28, 2019
2db6fb2
refactor/polish ~ fix `cargo clippy` complaints (needless_lifetimes)
rivy Dec 29, 2019
b8eb763
refactor/polish ~ fix `cargo clippy` complaints (collapse else-if)
rivy Dec 26, 2019
b003d55
refactor/polish ~ fix `cargo clippy` complaints (collapse if-if)
rivy Dec 26, 2019
2931c80
refactor/polish ~ fix `cargo clippy` complaints (collapse equal if bl…
rivy Dec 27, 2019
bb15dcf
refactor/polish ~ fix `cargo clippy` complaints (use is_empty / is_none)
rivy Dec 26, 2019
8b18b7c
refactor/polish ~ fix `cargo clippy` complaints (use is_null)
rivy Dec 26, 2019
739c2d5
refactor/polish ~ fix `cargo clippy` complaints (use is_ok)
rivy Dec 26, 2019
600c404
refactor/polish ~ fix `cargo clippy` complaints (map => if let)
rivy Dec 27, 2019
3bddf84
refactor/polish ~ fix `cargo clippy` complaints (match => if let)
rivy Dec 26, 2019
98039f1
refactor/polish ~ fix `cargo clippy` complaints (String => str)
rivy Dec 26, 2019
fd8e5ac
refactor/polish ~ fix `cargo clippy` complaints (loop/match => while …
rivy Dec 26, 2019
82dc40f
refactor/polish ~ fix `cargo clippy` complaints (simplify enum elemen…
rivy Dec 21, 2019
55b3e4e
refactor/polish ~ fix `cargo clippy` complaints (simplify enum elemen…
rivy Dec 26, 2019
6612445
refactor/polish ~ fix `cargo clippy` complaints (remove `->()`)
rivy Dec 26, 2019
d343d53
refactor/polish ~ fix `cargo clippy` complaints (avoid `as ...`)
rivy Dec 26, 2019
33e5d8c
refactor/polish ~ fix `cargo clippy` complaints (into_iter => iter)
rivy Dec 26, 2019
de9d702
refactor/polish ~ fix `cargo clippy` complaints (use enumerate)
rivy Dec 26, 2019
f933c60
refactor/polish ~ fix `cargo clippy` complaints (filter_map => filter)
rivy Dec 26, 2019
aa2ed76
refactor/polish ~ fix `cargo clippy` complaints (unneeded transmute)
rivy Dec 26, 2019
3344060
refactor/polish ~ fix `cargo clippy` complaints (remove useless lint …
rivy Dec 28, 2019
8ec50b7
refactor/polish ~ fix `cargo clippy` complaints (inefficient `to_stri…
rivy Dec 29, 2019
7cc3571
refactor/polish ~ fix `cargo clippy` complaints (remove unit value as…
rivy Dec 29, 2019
2ef9c9a
refactor/polish ~ fix `cargo clippy` complaints (unnecessary_unwrap)
rivy Dec 29, 2019
248dfba
refactor/polish ~ fix `cargo clippy` complaints (comparison_chain)
rivy Dec 29, 2019
bffea95
refactor/polish ~ fix `cargo clippy` complaints (zero_ptr)
rivy Dec 29, 2019
37a3db1
refactor/polish ~ fix `cargo clippy` complaints (flat_map_identity)
rivy Dec 29, 2019
8f2cdcf
refactor/polish ~ fix `cargo clippy` complaints (trivially_copy_pass_…
rivy Dec 29, 2019
6131f6f
refactor/polish ~ fix `cargo clippy` complaints (borrowed_box)
rivy Dec 29, 2019
1deac8d
refactor/polish ~ fix `cargo clippy` complaints (new_ret_no_self)
rivy Dec 29, 2019
58779be
refactor/polish ~ fix `cargo clippy` complaints (transmute_ptr_to_ptr)
rivy Dec 29, 2019
37c9b0e
refactor/polish ~ fix `cargo clippy` complaints ('better' ref use/top…
rivy Dec 27, 2019
5094d6f
refactor/polish ~ fix `cargo clippy` complaints (allow complexity)
rivy Dec 26, 2019
784887c
refactor/polish ~ fix `cargo clippy` complaints (allow comparison_chain)
rivy Dec 29, 2019
5241eca
refactor/polish ~ fix `cargo clippy` complaints (allow comparison_cha…
rivy Dec 29, 2019
a90e1ab
refactor/polish ~ fix `cargo clippy` complaints (allow enum_variant_n…
rivy Dec 26, 2019
44a60f7
refactor/polish ~ fix `cargo clippy` complaints (allow 'let_and_return')
rivy Dec 26, 2019
99ce03f
refactor/polish ~ fix `cargo clippy` complaints (allow many_single_ch…
rivy Dec 26, 2019
df68c39
refactor/polish ~ fix `cargo clippy` complaints (allow map_clone)
rivy Dec 29, 2019
cc49983
refactor/polish ~ fix `cargo clippy` complaints (allow missing_safety…
rivy Dec 30, 2019
e80970c
refactor/polish ~ fix `cargo clippy` complaints (allow module_inception)
rivy Dec 28, 2019
b8c0711
refactor/polish ~ fix `cargo clippy` complaints (allow ptr_arg)
rivy Dec 30, 2019
522d3ae
refactor/polish ~ fix `cargo clippy` complaints (allow ptr_arg)
rivy Dec 30, 2019
6230ab3
refactor/polish ~ fix `cargo clippy` complaints (allow range_plus_one…
rivy Dec 29, 2019
6c7c478
refactor/polish ~ fix `cargo clippy` complaints (allow single_match)
rivy Dec 26, 2019
372ddf9
refactor/polish ~ fix `cargo clippy` complaints (allow too_many_args)
rivy Dec 26, 2019
d82a170
refactor/polish ~ fix `cargo clippy` complaints (allow unreadable_lit…
rivy Dec 26, 2019
082f952
refactor/polish ~ fix `cargo clippy` complaints (allow useless_let_if…
rivy Dec 30, 2019
a6bdad3
refactor/polish ~ fix `cargo clippy` complaints (allow deprecated mem…
rivy Dec 30, 2019
b4866af
refactor/polish ~ fix `cargo clippy` complaints (deprecated uint64_t)
rivy Dec 31, 2019
daecc56
refactor/polish ~ fix `cargo clippy` complaints (unwrap_or_else)
rivy Dec 31, 2019
15722e3
refactor/polish ~ fix `cargo clippy` complaints (unused imports)
rivy Jan 28, 2020
5af8503
`cargo fmt`
rivy Jan 28, 2020
b7a3c4d
maint/build ~ refactor feature strategy (allows simple `cargo build` …
rivy Jan 1, 2020
a529d4c
maint/CICD ~ refactor/fix Travis CI to use new 'feature' set
rivy Jan 28, 2020
ca7d565
maint/build ~ add dev helper scripts to derive available utils for fe…
rivy Jan 26, 2020
0083aa9
maint/build ~ much improved `cargo-make` build file (Makefile.toml)
rivy Jan 28, 2020
83a2c9d
maint/CICD ~ minor AppVeyor changes (spelling/comments)
rivy Jan 28, 2020
ebc29e8
maint/CICD ~ add GitHub:Actions (GHA) CICD
rivy Jan 28, 2020
1d26e90
fix 32-bit/i686 target builds
rivy Jan 1, 2020
3ae3d11
upgrade nix (0.13.0 => 0.13.1); fixes arm build failure
rivy Jan 1, 2020
bcc1cc0
tests ~ fix CICD 'macos' test variation
rivy Jan 1, 2020
6adddcf
tests ~ fix CICD 'linux' test variations (whitespace variations)
rivy Jan 1, 2020
3ec47ff
tests ~ refactor real{link,path} tests for easier diagnosis of failures
rivy Jan 2, 2020
e894214
fix forced MinSRV increase (using locked 'backtrace' version)
rivy Jan 3, 2020
b5d541a
refactor/polish ~ inhibit useless warning (within 'tests/tests.rs')
rivy Jan 30, 2020
c4a69f2
refactor/polish ~ fix `cargo clippy` complaints (allow trivially_copy…
rivy Feb 7, 2020
75f05df
refactor/polish ~ fix `cargo clippy` complaints (redundant_static_lif…
rivy Feb 7, 2020
9b145bb
refactor/polish ~ fix `cargo clippy` complaints (unreadable_literal)
rivy Feb 7, 2020
84e26b3
refactor/polish ~ fix `cargo clippy` complaints (or_fun_call)
rivy Feb 7, 2020
0fdf27c
refactor/polish ~ fix `cargo clippy` complaints (iter_skip_next)
rivy Feb 7, 2020
080cbb5
refactor/polish ~ fix `cargo clippy` complaints (string_lit_as_bytes)
rivy Feb 7, 2020
c484fb8
refactor/polish ~ fix `cargo clippy` complaints (missing_safety_doc; …
rivy Feb 7, 2020
0635c5f
refactor/polish ~ fix `cargo clippy` complaints (unused_parens)
rivy Feb 7, 2020
ce0bb21
refactor/polish ~ fix `cargo clippy` complaints (deprecated std::erro…
rivy Feb 7, 2020
ecc895e
refactor/polish ~ fix `cargo clippy` complaints (iter_nth_zero)
rivy Apr 3, 2020
5224c3c
refactor/polish ~ fix `rustc` complaints (unused_parens)
rivy Apr 3, 2020
0cf704a
refactor/polish ~ fix `cargo clippy` complaints (wildcard_in_or_patt)
rivy Apr 3, 2020
9675add
refactor/polish ~ fix `cargo clippy` complaints (skip_while_next)
rivy Apr 4, 2020
7e15375
refactor ~ clean up main directory (move '{mk,uu}main.rs' into src/#c…
rivy Jan 27, 2020
641017f
maint/CICD ~ improve PR support for AppVeyor CI builds
rivy Feb 10, 2020
b57ee7e
maint/CICD ~ fix features option for GHA
rivy Mar 10, 2020
69408fc
maint/CICD ~ fix MinSRV testing (use correct toolchain)
rivy Mar 18, 2020
05c8294
maint/CICD ~ generalize README and LICENSE matches for use in dpkg bu…
rivy Mar 18, 2020
4cf8487
maint/CICD ~ improve tooling info display and include build dependenc…
rivy Apr 8, 2020
ab9da0a
maint/CICD ~ fix GITHUB_REF parsing
rivy Apr 10, 2020
97de0df
maint/build ~ improve `cargo-make` build file organization and help text
rivy Apr 7, 2020
57ef582
maint/build ~ polish and comment 'features'
rivy Apr 8, 2020
ab9eb31
maint/build ~ refactor dependencies into sorted order
rivy Apr 8, 2020
1c97a29
maint/build ~ refactor dependency specifications (sorted, single line…
rivy Apr 8, 2020
78d55f0
refactor/polish ~ fix `cargo clippy` complaints (fix/remove allow ran…
rivy Apr 4, 2020
156502a
refactor ~ reduce excessive use of scope prefixes
rivy Apr 4, 2020
ecb8f28
refactor ~ change repair of 'fix `cargo clippy` complaints (fatal/sam…
rivy Apr 7, 2020
84f05f2
expand: refactor/polish ~ simplify if condition
rivy Apr 4, 2020
3e3dff3
ls: refactor ~ improve line bundling of imports
rivy Apr 4, 2020
d704fb2
printf: refactor ~ remove redundant string allocation
rivy Apr 4, 2020
b8da0d7
maint/docs ~ add license notation to all workspace packages
rivy Apr 8, 2020
7eeb58a
maint/docs ~ add spell-checker exceptions
rivy Apr 10, 2020
6a18d7f
update ~ (maint!) use fixed/patched uucore (v0.0.2); await upgrade up…
rivy Jan 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor/polish ~ fix cargo clippy complaints (for in => iter.take)
rivy committed Jan 28, 2020
commit 90a64a831a25b3e5bfa268b18ee5df2bb00456c0
4 changes: 2 additions & 2 deletions src/shred/shred.rs
Original file line number Diff line number Diff line change
@@ -424,8 +424,8 @@ fn wipe_file(
pass_sequence.push(PassType::Pattern(*p));
}
}
for i in 0..remainder {
pass_sequence.push(PassType::Pattern(PATTERNS[i]));
for pattern in PATTERNS.iter().take(remainder) {
pass_sequence.push(PassType::Pattern(pattern));
}
rand::thread_rng().shuffle(&mut pass_sequence[..]); // randomize the order of application