Skip to content

Make WASM polyfilled Instant work in web workers. #337

Make WASM polyfilled Instant work in web workers.

Make WASM polyfilled Instant work in web workers. #337

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: lints
jobs:
rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install beta toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: beta
override: true
components: rustfmt
- uses: Swatinem/rust-cache@v1
with:
cache-on-failure: true
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install beta toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: beta
override: true
components: clippy
- uses: Swatinem/rust-cache@v1
with:
cache-on-failure: true
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy