expose remove, remove_and_keep_content and removed? methods on element #53
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
strategy: | |
matrix: | |
rust: | |
- stable | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Obtain Rust | |
run: rustup override set ${{ matrix.rust }} | |
- name: Check clippy | |
run: rustup component add clippy && cargo clippy | |
- name: Check formatting | |
run: rustup component add rustfmt && cargo fmt -- --check |