activitypub-federation-rust/.github/workflows/check.yml
藍+85CD 03569d5a56
refactor!: remove actix-web feature (#1)
* refactor!: remove `actix-web` feature

* chore: remove codeowners

* chore(ci): add check action

* fix(ci/check): remove nightly toolchain

* fix(ci): allow dead code

* refactor(examples): remove actix-web
2024-07-25 17:02:10 +08:00

23 lines
564 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 run --example local_federation axum