Lint and check all features (#27)
Added flags for the "Check" stage for linux and macos PR targets.
This commit is contained in:
parent
7cc9181574
commit
ae97db3e0f
|
@ -22,9 +22,9 @@ pipeline {
|
|||
stages {
|
||||
stage('Check') {
|
||||
steps {
|
||||
sh 'cargo check'
|
||||
sh 'cargo check --all --all-features'
|
||||
sh 'cargo fmt -- --check'
|
||||
sh 'cargo clippy'
|
||||
sh 'cargo clippy --all --all-features -- --deny warnings'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -21,9 +21,9 @@ pipeline {
|
|||
stages {
|
||||
stage('Check') {
|
||||
steps { script {
|
||||
nix.shell('cargo check')
|
||||
nix.shell('cargo check --all --all-features')
|
||||
nix.shell('cargo fmt -- --check')
|
||||
nix.shell('cargo clippy')
|
||||
nix.shell('cargo clippy --all --all-features -- --deny warnings')
|
||||
} }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue