Hacky version of program checking #183
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: Rust | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: jetli/[email protected] | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: Build Rust | |
run: cargo build --locked | |
- name: Format Rust | |
run: cargo fmt -- --check | |
- name: Clippy | |
run: cargo clippy -- --deny warnings | |
- name: Test Rust | |
run: cargo test --locked | |
- name: WASM | |
working-directory: rufus-wasm | |
run: wasm-pack build | |
- name: UI Install | |
working-directory: rufus-ui | |
run: pnpm install --frozen-lockfile | |
- name: UI Build | |
working-directory: rufus-ui | |
run: pnpm build | |
- name: UI Lint | |
working-directory: rufus-ui | |
run: pnpm lint |