Add linting step for rbx_dom_lua (#366) #880
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: Clippy | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust_version: [stable] | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Setup Rust toolchain | |
run: | | |
rustup default ${{ matrix.rust_version }} | |
rustup component add clippy | |
- name: Run Clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings |