Skip to content

Commit

Permalink
rustflags ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pnordahl committed Nov 20, 2024
1 parent 0668e2e commit 20394f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: ""
- run: |
sudo chown -R $USER:$USER ${{ github.workspace }}
mkdir -p "$MONORAIL_TEST_DIR"
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "[email protected]"
# clippy does not respect .cargo/config.toml, so we specify RUSTFLAGS manually
- run: RUSTFLAGS="--cfg tokio_unstable" cargo clippy --locked -- -D warnings
- run: cargo clippy --locked -- -D warnings
- run: cargo build --locked --verbose --all
- run: cargo test --locked -- --nocapture

0 comments on commit 20394f7

Please sign in to comment.