Add CI testing #2

Manually merged
MichaelBradley merged 11 commits from actions into main 2025-02-23 09:29:58 -05:00
Showing only changes of commit b70b9a716a - Show all commits

View file

@ -4,31 +4,31 @@ 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@stable
with:
components: rustfmt
- name: Check Rust formatting
run: cargo fmt --all -- --check
# 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@stable
# 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@stable
with:
components: clippy
- name: Run Clippy
run: "echo 'pretend i ran'" # cargo clippy -- -D warnings
# 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@stable
# with:
# components: clippy
# - name: Run Clippy
# run: cargo clippy -- -D warnings
build:
name: Build (and tests, for now)