Refactor: convert device patches to function-based initialization #3
This file contains hidden or 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: Lint Checks | |
| on: [pull_request, push] | |
| jobs: | |
| sort_libraries: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: Install Colint | |
| uses: ./.github/actions/install-colint | |
| - name: Run Sort Libraries Check | |
| run: | | |
| colint sort-libraries . --check --config-file ./lint | |
| code_format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: Install Colint | |
| uses: ./.github/actions/install-colint | |
| - name: Run Code Format Check | |
| run: | | |
| colint code-format . --check --config-file ./lint | |
| grammar_check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: Install Colint | |
| uses: ./.github/actions/install-colint | |
| - name: Run Grammar Check | |
| run: | | |
| colint grammar-check . --check --config-file ./lint | |
| newline_fix: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: Install Colint | |
| uses: ./.github/actions/install-colint | |
| - name: Run Newline Fix Check | |
| run: | | |
| colint newline-fix . --check --config-file ./lint |