Fix test snapshot duplicate_names
changing due to inconsistent orde…
#362
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust_version: [stable] | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Setup Rust toolchain | |
run: rustup default ${{ matrix.rust_version }} | |
- name: Build | |
working-directory: ./extractor | |
run: cargo build --locked --verbose | |
- name: Run tests | |
working-directory: ./extractor | |
run: cargo test --locked --verbose | |
- name: Rustfmt and Clippy | |
working-directory: ./extractor | |
run: | | |
cargo fmt -- --check | |
cargo clippy | |
if: matrix.rust_version == 'stable' |