refactoring parsing to support addition of Objects and Items #215
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: | |
- main | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: | |
- 1.60.0 # minimum supported version | |
- stable | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update ${{ matrix.rust }} | |
- run: rustup default ${{ matrix.rust }} | |
- run: cargo test | |
fmt: | |
name: cargo fmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup default 1.67.1 | |
- run: rustup component add rustfmt | |
- run: cargo fmt -- --check | |
clippy: | |
name: cargo clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup default 1.67.1 | |
- run: rustup component add clippy | |
- run: cargo clippy --all-targets --all-features -- -D warnings |