File tree Expand file tree Collapse file tree 3 files changed +23
-36
lines changed Expand file tree Collapse file tree 3 files changed +23
-36
lines changed Original file line number Diff line number Diff line change 11permissions :
22 contents : read
33on :
4+ push :
5+ branches : [main, kernel, next]
46 pull_request :
57 workflow_dispatch :
8+ schedule :
9+ - cron : ' 7 7 * * *'
610
711name : CI
812jobs :
6872 runs-on : ubuntu-latest
6973 steps :
7074 - uses : actions/checkout@v4
75+ with :
76+ fetch-depth : ${{github.event.pull_request.commits}}
77+ ref : ${{github.event.pull_request.head.sha}}
7178 - uses : dtolnay/rust-toolchain@nightly
7279 with :
7380 components : rust-src
@@ -206,7 +213,7 @@ jobs:
206213 fetch-depth : ${{github.event.pull_request.commits}}
207214 ref : ${{github.event.pull_request.head.sha}}
208215 - run : git config user.name "github-runner" && git config user.email "<>"
209- - run : git rebase --exec 'git log -1 --pretty=format:%B | grep -q "^Signed-off-by:"' --root
216+ - run : git rebase --exec 'git log --no-merges - 1 --pretty=format:%B | grep -q "^Signed-off-by:"' --root
210217 apply :
211218 runs-on : ubuntu-latest
212219 steps :
@@ -251,3 +258,15 @@ jobs:
251258 - run : git rebase --exec 'cargo doc --all-features --no-deps && linkchecker target/doc/*/*.html' --root
252259 env :
253260 RUSTFLAGS : " -Dwarnings"
261+ update :
262+ runs-on : ubuntu-latest
263+ steps :
264+ - uses : actions/checkout@v4
265+ - uses : dtolnay/rust-toolchain@nightly
266+ with :
267+ components : rust-src
268+ - run : cargo install cargo-expand
269+ - run : cargo update
270+ - run : cargo test --locked
271+ env :
272+ RUSTFLAGS : " -Ddeprecated -Dwarnings"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ pub struct EvenU64 {
164164}
165165
166166impl EvenU64 {
167+ #[ allow( clippy:: manual_is_multiple_of) ]
167168 pub fn new2 ( value : u64 ) -> impl Init < Self , Error > {
168169 try_init ! ( Self {
169170 info: "Hello world!" . to_owned( ) ,
@@ -174,6 +175,8 @@ impl EvenU64 {
174175 } ,
175176 } ? Error )
176177 }
178+
179+ #[ allow( clippy:: manual_is_multiple_of) ]
177180 pub fn new ( value : u64 ) -> impl Init < Self , ( ) > {
178181 try_init ! ( Self {
179182 info: "Hello world!" . to_owned( ) ,
You can’t perform that action at this time.
0 commit comments