notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 2543978ffeb73b4799a59a6b15617f3bc5116b7f
parent c309894be87844e92df9f30f8432f0015dd603b1
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  6 Dec 2024 10:34:49 -0800

github: unify fmt and clippy step

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
M.github/workflows/rust.yml | 20++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml @@ -10,25 +10,17 @@ on: - "*" jobs: - fmt: - name: Rustfmt + lint: + name: Rustfmt + Clippy runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: - components: rustfmt - - run: cargo fmt --all -- --check - - clippy: - name: Clippy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - with: - components: clippy - - run: cargo clippy -- -D warnings + components: rustfmt,clippy + - run: | + cargo fmt --all -- --check + cargo clippy linux-test: name: Test (Linux)