Skip to content

Calendar view style & onWheel function apply #274 #235

Calendar view style & onWheel function apply #274

Calendar view style & onWheel function apply #274 #235

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- master
workflow_dispatch:
workflow_call:
jobs:
js-test-and-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- run: npm clean-install
- run: npm run lint
- run: npm run test
rust-linter:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-06-25
- uses: Swatinem/rust-cache@v2
- run: mkdir dist
- name: Linter
run: |-
rustup component add rustfmt
cargo fmt -- --check
- name: Clippy
run: |-
rustup component add clippy
cargo clippy --locked --all-targets -- -D warnings
rust-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-06-25
- uses: Swatinem/rust-cache@v2
- run: mkdir dist
- run: cargo test --locked --verbose