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

Fixes scheduled pipeline #1671

Merged
merged 2 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,19 @@ jobs:
experimental:
- false
include:
- no_clippy: false
- build: nightly
clippy: false
${{ github.event_name != 'scheduled' }}:
no_clippy: true
experimental: true
- clippy: true
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
workspaces: services
- run: echo "NO_CLIPPY=true" >> $GITHUB_ENV
if: github.event_name != 'schedule' && ! matrix.clippy
- run: eng/scripts/services_tests.sh ${{ matrix.build }}
env:
NO_CLIPPY: ${{ matrix.no_clippy }}
- name: display free disk space
run: df -h /
if: ${{ always() }}
Expand Down
2 changes: 1 addition & 1 deletion eng/scripts/services_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ rustup component add rustfmt clippy --toolchain ${BUILD}
export RUSTFLAGS="-Dwarnings -Aunreachable-code -Aunused-assignments -Adead-code -Aclippy::new-without-default -Aclippy::unnecessary_to_owned"
cargo +${BUILD} check --manifest-path services/Cargo.toml --all
cargo +${BUILD} check --manifest-path services/Cargo.toml --examples
if [ -z $NO_CLIPPY ]; then
if [[ $NO_CLIPPY != 'true' ]]; then
cargo +${BUILD} clippy --manifest-path services/Cargo.toml --all
fi
cargo +${BUILD} fmt --manifest-path services/Cargo.toml --all -- --check
Loading