activitypub-federation-rust/.github/workflows/check.yml
藍+85CD 5fc5546aec
refactor: update dependencies (#2)
* chore(deps): bump reqwest

* chore(deps): bump http

* chore(deps): bump http-signature-normalization-reqwest

* chore(deps): bump hyper

* chore(deps): bump axum

* chore(deps): use axum-extra

* refactor(tests): use axum::serve

* fix: axum inbox

Co-Authored-By: j0 <me@j0.lol>

* fix(examples): use axum::serve

* chore(ci): add doc test

* fix: docs test

* fix(tests): fix port

* fix(examples): use tokio::spawn

* chore(examples): remove actix-web code

---------

Co-authored-by: j0 <me@j0.lol>
2024-07-25 19:40:57 +08:00

24 lines
602 B
YAML

name: check
on:
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
# https://github.com/Mozilla-Actions/sccache-action#rust-code
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "true"
jobs:
check:
runs-on: ubuntu-latest
name: check
steps:
- uses: actions/checkout@v4
- uses: mozilla-actions/sccache-action@v0.0.3
# - run: cargo fmt -- --check
- run: cargo clippy --all-targets --all-features
- run: cargo test --all-features --no-fail-fast
- run: cargo doc --all-features
- run: cargo run --example local_federation axum