Merge downstream changes into upstream main #78
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: Style checking | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
rustfmt: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
subdir: [isotomachine, isototest] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install libvnc as dependency | |
run: sudo apt-get update && sudo apt-get install -y libvncserver-dev | |
- name: Run cargo fmt in ${{ matrix.subdir }} | |
working-directory: ${{ matrix.subdir }} | |
run: cargo fmt -- --check | |
- name: Run cargo clippy in ${{ matrix.subdir }} | |
working-directory: ${{ matrix.subdir }} | |
run: cargo clippy |