Update dependencies in Cargo.toml; refactor AST node definitions and β¦ #195
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| name: Build and test infc | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| toolchain: | |
| - nightly | |
| steps: | |
| - name: Setup Rust | |
| uses: actions/checkout@v4.1.3 | |
| - name: Update Rust | |
| run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
| - name: Install clippy nightly | |
| run: rustup component add clippy-preview | |
| - name: Install Cargo audit | |
| run: cargo install cargo-audit | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Test | |
| run: cargo test --verbose | |
| - name: Clippy | |
| run: cargo clippy --verbose -- -D warnings | |
| - name: Audit | |
| run: cargo audit |