Add back sideEffects and elements folder. #404
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: PR | |
on: | |
pull_request: | |
branches: ["main"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Install Just to run CI scripts | |
- uses: extractions/setup-just@v2 | |
# Install Rust with clippy/rustfmt | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
components: clippy, rustfmt | |
# Install Machete to find unused dependencies | |
- run: cargo install cargo-machete | |
# Install Node for moq-web | |
- uses: actions/setup-node@v4 | |
# Required for unstable WebCodecs and WebTransport | |
- run: echo "RUSTFLAGS=--cfg=web_sys_unstable_apis" >> $GITHUB_ENV | |
# Make sure u guys don't write bad code | |
- run: just check | |
# Make sure the project builds | |
- run: just build |