Skip to content

fix(deps): update rust crate either to 1.11 #156

fix(deps): update rust crate either to 1.11

fix(deps): update rust crate either to 1.11 #156

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
- name: Rust cache
uses: swatinem/rust-cache@v2
- name: Test
run: cargo test --workspace --all-targets --all-features
lint:
name: Lint
runs-on: ubuntu-22.04
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
permissions:
pull-requests: write
contents: read
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
- name: Rust cache
uses: swatinem/rust-cache@v2
- uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-review'
github_token: ${{ github.token }}
- name: Check cargo fmt
run: cargo fmt --all -- --check