Skip to content

Add --removal-debounce for "remove" FS events, with a higher default #41

Add --removal-debounce for "remove" FS events, with a higher default

Add --removal-debounce for "remove" FS events, with a higher default #41

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: --deny warnings
jobs:
check:
name: 'Build & test'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Restore cargo cache
uses: Swatinem/rust-cache@v1.3.0
- name: Install tsc
run: npm install
working-directory: lib
- name: Compile TS file
run: npx tsc --outFile src/generated/check.js
working-directory: lib
- name: Make sure generated JS file is up to date
run: diff -u --color lib/src/generated/browser.js lib/src/generated/check.js
- name: Build
run: cargo build
- name: Run tests
run: cargo test