distributed_physics_test/.forgejo/workflows/build.yaml
Michael Bradley 3eb91ec0f7
All checks were successful
CI / Formatting (push) Successful in 35s
CI / Clippy (push) Successful in 6m47s
Disable build job
It takes so long to run, and we're still running Clippy anyways.
2025-03-13 20:45:30 -04:00

35 lines
848 B
YAML

---
on: [push]
name: CI
jobs:
formatting:
name: Formatting
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Rust
uses: https://github.com/dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Check Rust formatting
run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Rust
uses: https://github.com/dtolnay/rust-toolchain@nightly
with:
components: clippy
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install libasound2-dev libudev-dev libwayland-dev
- name: Run Clippy
run: cargo clippy -- -D warnings