forked from rojo-rbx/rojo
* Add Glob wrapper type with better serialization * Introduce PathIgnoreRule struct * Implement equality for Glob type * Add PathIgnoreRule to InstanceContext * Implement glob ignores in directory middleware * Fix up filters * Use Iterator::all instead of loop * Add project-level configuration for glob ignores * Add test project for glob ignores * Wire up project file and snapshots to make glob ignores work * Better codepaths for adding ignore rules with empty iterators * Add test for globs inherited from parent projects * Add test details, support glob ignores in nested projects * Add feature flag for globs * Switch to use ExactSizeIterator instead of size_hint * Remove glob visitor
36 lines
712 B
YAML
36 lines
712 B
YAML
name: CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
rust_version: [stable, "1.36.0"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Setup Rust toolchain
|
|
run: rustup default ${{ matrix.rust_version }}
|
|
|
|
- name: Build
|
|
run: cargo build --locked --verbose
|
|
|
|
- name: Run tests
|
|
run: cargo test --locked --verbose
|
|
|
|
- name: Rustfmt and Clippy
|
|
run: |
|
|
cargo fmt -- --check
|
|
cargo clippy
|
|
if: matrix.rust_version == 'stable'
|
|
|
|
- name: Build (All Features)
|
|
run: cargo build --locked --verbose --all-features
|
|
|
|
- name: Run tests (All Features)
|
|
run: cargo test --locked --verbose --all-features |