Repository navigation
Add squircle wiki page #466
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: Build zola website to ensure no errors | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| name: check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: build_and_deploy | |
| # Also update in README.md and ./main.yml | |
| uses: shalzz/zola-deploy-action@v0.20.0 | |
| env: | |
| BUILD_ONLY: true | |
| # Demos embedded in pages are Rust compiled to Wasm; see ./main.yml for the | |
| # packaging step that runs on deploy. | |
| check-wasm: | |
| name: check (wasm) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: install stable toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: wasm32-unknown-unknown | |
| - name: restore cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: ./crates | |
| - name: cargo check | |
| working-directory: ./crates | |
| # --list names the crates that declare a cdylib; --all-targets also | |
| # covers each one's trunk-only dev bin. | |
| run: cargo check $(./build.sh --list) --all-targets --target wasm32-unknown-unknown --locked | |
| # If this fails, consider changing your text or adding something to .typos.toml. | |
| typos: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: check typos | |
| uses: crate-ci/typos@v1.45.0 |