File tree Expand file tree Collapse file tree 3 files changed +14
-41
lines changed Expand file tree Collapse file tree 3 files changed +14
-41
lines changed Original file line number Diff line number Diff line change 23
23
needs : [release]
24
24
steps :
25
25
- uses : actions/checkout@v4
26
- - uses : actions-rs/toolchain@v1
27
- with :
28
- toolchain : stable
29
- default : true
30
- - run : cargo build --release -j`nproc`
26
+ - uses : actions-rust-lang/setup-rust-toolchain@v1
27
+ - run : cargo build --release
31
28
- run : |
32
29
mv target/release/nomino nomino-linux-64bit
33
30
gh release upload "v${{ github.ref_name }}" nomino-linux-64bit --clobber
41
38
needs : [release]
42
39
steps :
43
40
- uses : actions/checkout@v4
44
- - uses : actions-rs/toolchain@v1
45
- with :
46
- toolchain : stable
47
- default : true
48
- - run : cargo build --release -j`sysctl -n hw.physicalcpu`
41
+ - uses : actions-rust-lang/setup-rust-toolchain@v1
42
+ - run : cargo build --release
49
43
- run : |
50
44
mv target/release/nomino nomino-macos-64bit
51
45
gh release upload "v${{ github.ref_name }}" nomino-macos-64bit --clobber
59
53
needs : [release]
60
54
steps :
61
55
- uses : actions/checkout@v4
62
- - uses : actions-rs/toolchain@v1
63
- with :
64
- toolchain : stable
65
- default : true
56
+ - uses : actions-rust-lang/setup-rust-toolchain@v1
66
57
- run : cargo build --release
67
58
- run : |
68
59
mv target/release/nomino.exe nomino-windows-64bit.exe
Original file line number Diff line number Diff line change @@ -11,40 +11,21 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v4
14
- - uses : actions-rs/ toolchain@v1
14
+ - uses : actions-rust-lang/setup-rust- toolchain@v1
15
15
with :
16
- default : true
17
- toolchain : stable
18
16
components : rustfmt, clippy
19
- - uses : actions-rs/cargo@v1
20
- with :
21
- command : test
22
- - uses : actions-rs/cargo@v1
23
- with :
24
- command : fmt
25
- args : -- --check
26
- - uses : actions-rs/cargo@v1
27
- with :
28
- command : clippy
17
+ - run : cargo test
18
+ - run : cargo fmt -- --check
19
+ - run : cargo clippy
29
20
macos :
30
21
runs-on : macos-latest
31
22
steps :
32
23
- uses : actions/checkout@v4
33
- - uses : actions-rs/toolchain@v1
34
- with :
35
- default : true
36
- toolchain : stable
37
- - uses : actions-rs/cargo@v1
38
- with :
39
- command : test
24
+ - uses : actions-rust-lang/setup-rust-toolchain@v1
25
+ - run : cargo test
40
26
windows :
41
27
runs-on : windows-latest
42
28
steps :
43
29
- uses : actions/checkout@v4
44
- - uses : actions-rs/toolchain@v1
45
- with :
46
- default : true
47
- toolchain : stable
48
- - uses : actions-rs/cargo@v1
49
- with :
50
- command : test
30
+ - uses : actions-rust-lang/setup-rust-toolchain@v1
31
+ - run : cargo test
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ use std::vec::IntoIter;
9
9
use walkdir:: IntoIter as WalkIter ;
10
10
use walkdir:: WalkDir ;
11
11
12
+ #[ allow( clippy:: large_enum_variant) ]
12
13
pub enum InputIterator {
13
14
VectorIterator ( IntoIter < ( String , String ) > ) ,
14
15
DirectoryIterator {
You can’t perform that action at this time.
0 commit comments