Skip to content

Revert sanitization reordering (restore old behavior) #91

Revert sanitization reordering (restore old behavior)

Revert sanitization reordering (restore old behavior) #91

Workflow file for this run

name: Linting
on:
pull_request:
jobs:
ruby:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: yettoapp/actions/setup-languages@main
with:
ruby: true
- name: Rubocop
run: bundle exec rake rubocop
clippy_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Rust
id: toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
tmp/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-v1
- name: Check clippy
run: cargo clippy
- name: Check formatting
run: cargo fmt -- --check