Skip to content

fix(v0.21.0): avoid redundant timeline track reselection #37

fix(v0.21.0): avoid redundant timeline track reselection

fix(v0.21.0): avoid redundant timeline track reselection #37

Workflow file for this run

name: CI
on:
push:
branches: [main, "v*"]
pull_request:
branches: [main]
jobs:
rust:
name: Rust · check + clippy + fmt
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
run: |
rustup show active-toolchain || rustup toolchain install stable
rustup component add clippy rustfmt
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: cargo fmt --check
run: cargo fmt --all -- --check
- name: cargo check --workspace
run: cargo check --workspace --all-targets
- name: cargo clippy
run: cargo clippy --workspace --all-targets -- -D warnings
frontend:
name: Frontend · tsc --noEmit
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: frontend/nf-components
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
cache-dependency-path: frontend/nf-components/package-lock.json
- name: npm install
run: npm install --no-audit --no-fund
- name: tsc --noEmit
run: npx tsc --noEmit