fix: add public host validation to prevent private host usage #206
Workflow file for this run
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: Continuous Integration | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'main' | |
| - 'releases/**' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: "-Dwarnings" | |
| jobs: | |
| pipeline: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| target: wasm32-wasip1 | |
| components: rustfmt, clippy | |
| #- name: Run cargo-audit binary crate | |
| # uses: rustsec/audit-check@v2.0.0 | |
| # with: | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build | |
| run: cargo build --all-features | |
| - name: Unit Tests | |
| run: cargo test --all | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| - name: Run Clippy | |
| run: cargo clippy --all-targets --all-features | |