Skip to content

chore: increase Rust version to 1.82.0 #1543

chore: increase Rust version to 1.82.0

chore: increase Rust version to 1.82.0 #1543

Workflow file for this run

name: code quality
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/main' && github.sha) || github.ref }}
cancel-in-progress: true
jobs:
clippy_check:
runs-on: namespace-profile-standard-ubuntu22-amd64
steps:
- name: clone code
uses: namespacelabs/nscloud-checkout-action@v5
with:
submodules: recursive
- name: Install Protoc
run: sudo apt-get install -y protobuf-compiler
- name: install Rust
uses: actions-rs/toolchain@v1
with:
# Sync with rust-toolchain.toml
toolchain: 1.82
override: true
components: rustfmt, clippy
- name: lint
run: cargo clippy --features test_ci --exclude grit-wasm-bindings --workspace --locked -- -D warnings
- name: format
run: cargo fmt --all -- --check