build #98
Workflow file for this run
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: build | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
override: true | |
- uses: jetli/[email protected] | |
with: | |
# Optional version of trunk to install(eg. 'v0.8.1', 'latest') | |
version: 'latest' | |
- name: Build | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: | | |
trunk build | |
- name: cargo fmt & clippy | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: | | |
cargo fmt --all -- --check | |
cargo clippy -- --deny=warnings | |