Fix API page crash with classOrder
with empty classes
table
#360
Workflow file for this run
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' |