Skip to content

chore: set compiler version to 2.0.0 (#35) #132

chore: set compiler version to 2.0.0 (#35)

chore: set compiler version to 2.0.0 (#35) #132

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["**"]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rustfmt
- name: Run cargo check
run: cargo check
- name: Run cargo clippy
run: cargo clippy -- -D warnings
- name: Run cargo fmt
run: cargo fmt --all --check
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
- name: Run cargo test
run: cargo test