All checks were successful
CI / Formatting (push) Successful in 38s
It was somehow crashing my Pi 5
33 lines
813 B
YAML
33 lines
813 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
|
|
# uses: ./.forgejo/actions/install-system-libraries
|
|
# - name: Run Clippy
|
|
# run: cargo clippy -- -D warnings
|