update rust version in CI #186
Workflow file for this run
  
    
      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: Rust | |
| on: [push, pull_request] | |
| env: | |
| RUSTFLAGS: "-Dwarnings" | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@1.76.0 | |
| with: | |
| components: clippy, rustfmt | |
| - name: Build | |
| run: cargo build | |
| - name: Test | |
| run: cargo test | |
| - name: Test json_tree_test for simd_json feature | |
| run: cargo test --features=simd_json --no-default-features --test json_tree_test | |
| - name: Clippy | |
| run: cargo clippy | |
| - name: Format | |
| run: cargo fmt --all -- --check |