Skip to content

Propagate block return types to method return types #135

Propagate block return types to method return types

Propagate block return types to method return types #135

Workflow file for this run

name: Linter
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: |
core -> target
- name: Run Clippy
run: cd core && cargo clippy --lib --all-features -- -W clippy::all
rubocop:
name: RuboCop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop