--- name: Python on: push: branches: - master pull_request: types: [opened, synchronize, reopened] permissions: {} jobs: build: runs-on: ubuntu-latest strategy: matrix: include: - python-version: 3.11 - python-version: 3.12 - python-version: 3.13 steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: ${{ matrix.python-version }} - name: Install ci tools run: pip install .[ci] - name: Run ruff lint run: ruff check netbox_slm - name: Run ruff format run: ruff format --check netbox_slm