Bump black from 22.10.0 to 24.3.0 in /pymoose/requirements #1110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Moose-only CI | |
on: | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
ubuntu-moose-ci: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Rust. | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Install OpenBLAS. | |
run: | | |
sudo apt install libopenblas-dev | |
- name: Install build dependencies. | |
run: | | |
sudo apt install -y make clang libpython3-dev protobuf-compiler | |
- uses: Swatinem/rust-cache@v1 | |
- name: Formatting. | |
run: | | |
cargo fmt --all -- --check | |
- name: Linting. | |
run: | | |
cargo clippy --all-targets -- -D warnings --no-deps | |
- name: Build tests. | |
run: | | |
cargo test --no-run | |
- name: Run tests. | |
run: | | |
cargo test |