Skip to content

build

build #98

Workflow file for this run

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