Lint and check all features (#27)

Added flags for the "Check" stage for linux and macos PR targets.
This commit is contained in:
gusto 2022-12-13 13:33:51 +02:00 committed by GitHub
parent 7cc9181574
commit ae97db3e0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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'
}
}

View File

@ -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')
} }
}