Skip to content

Merge pull request #3 from FrameworkComputer/43a-qtpy #8

Merge pull request #3 from FrameworkComputer/43a-qtpy

Merge pull request #3 from FrameworkComputer/43a-qtpy #8

Workflow file for this run

name: lint
on:
- push
- pull_request
env:
CARGO_TERM_COLOR: always
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
rust:
- '**.rs'
- 'rustfmt.toml'
- '.github/workflows/**'
- if: steps.changes.outputs.rust == 'true'
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- if: steps.changes.outputs.rust == 'true'
run: cargo fmt --check