http: Update naming for delegate dids #352
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check-radicle-httpd | |
on: push | |
jobs: | |
test: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./radicle-httpd | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: radicle-httpd -> target | |
- name: Build | |
run: cargo build --all-features | |
- name: Run tests | |
run: cargo test --all-features | |
docs: | |
name: Docs | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./radicle-httpd | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: radicle-httpd -> target | |
- name: Docs | |
run: cargo doc --all --all-features | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./radicle-httpd | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: radicle-httpd -> target | |
- name: Run clippy | |
run: cargo clippy --all --tests | |
- name: Check formatting | |
run: cargo fmt --all --check |