Merge pull request #826 from Ostorlab/feature/update-kb-oxo #1159
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: Lint And Format Checker. | |
on: | |
pull_request: | |
branches: [ "*" ] | |
push: | |
branches: [ "main" ] | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ "3.9", "3.10" ] | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Checking code formatting. | |
uses: chartboost/ruff-action@v1 | |
with: | |
args: format --check | |
- name: Running linter. | |
uses: chartboost/ruff-action@v1 |