Skip to content

Add support for sanitizing (filtering) style properties #149

Add support for sanitizing (filtering) style properties

Add support for sanitizing (filtering) style properties #149

Workflow file for this run

name: CI
on:
# Only run when merging to master, or open/synchronize/reopen a PR.
push:
branches:
- master
- staging
- trying
pull_request:
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
rust: ["stable", "beta"]
build_flags: ["", "--cfg ammonia_unstable"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@master
- name: Set toolchain
run: |
rustup set profile minimal
rustup override set ${{ matrix.rust }}
- name: Test
run: cargo test
env:
RUSTFLAGS: ${{ matrix.build_flags }}
msrv:
name: MSRV
runs-on: ubuntu-latest
strategy:
matrix:
build_flags: ["", "--cfg ammonia_unstable"]
steps:
- uses: actions/checkout@master
- name: Set toolchain
run: |
rustup set profile minimal
rustup override set 1.65.0
- name: Check
run: cargo check --lib --all-features
env:
RUSTFLAGS: ${{ matrix.build_flags }}
ci-success:
name: ci
if: ${{ success() }}
needs:
- test
- msrv
runs-on: ubuntu-latest
steps:
- name: CI succeeded
run: exit 0