FEATURE: Set BATT_MONITOR and BATT_I2C_BUS #243
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: Ruff | |
on: [push, workflow_dispatch] | |
#concurrency: | |
# group: ci-${{github.workflow}}-${{ github.ref }} | |
# cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.12'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: | | |
python -m pip install -U ruff | |
- name: Lint with Ruff | |
run: | | |
ruff check --output-format=github . |