feat: enhance feed URL handling and improve node logging #3
This file contains hidden or 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: CI | ||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
| - master | ||
| env: | ||
| CARGO_TERM_COLOR: always | ||
| jobs: | ||
| test: | ||
| name: Test and Build | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Install Rust toolchain | ||
| uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| targets: wasm32-wasip2 | ||
| components: rustfmt, clippy | ||
| - name: Cache Cargo | ||
| uses: Swatinem/rust-cache@v2 | ||
| - name: Check formatting | ||
| run: cargo fmt --all -- --check | ||
| - name: Clippy | ||
| run: cargo clippy --target "$(rustc -vV | sed -n 's/^host: //p')" --all-targets -- -D warnings | ||
| - name: Test | ||
| run: cargo test --target "$(rustc -vV | sed -n 's/^host: //p')" | ||
| - name: Build WASM component | ||
| run: cargo build --release --target wasm32-wasip2 | ||