Skip to content

Change html-macro's checked attribute to specify checkedness (#206) #167

Change html-macro's checked attribute to specify checkedness (#206)

Change html-macro's checked attribute to specify checkedness (#206) #167

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
# Used when testing with `wasm-pack test`
target: wasm32-unknown-unknown
- name: Rust Version Info
run: rustc --version && cargo --version && echo $CARGO_HOME
- name: Install wasm-pack
run: >
curl -L https://github.com/rustwasm/wasm-pack/releases/download/v0.10.0/wasm-pack-v0.10.0-x86_64-unknown-linux-musl.tar.gz
| tar --strip-components=1 --wildcards -xzf - "*/wasm-pack"
&& chmod +x wasm-pack
&& mv wasm-pack $HOME/.cargo/bin/
- name: Browser versions
run: wasm-pack --version && firefox --version
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run all tests
run: ./test.sh
# NOTE: We can start running the full test suite on stable after https://github.com/rust-lang/rust/issues/54725
- name: Check that Stable can compile
run: cargo +stable check --all