Skip to content

Merge pull request #170 from Ostorlab/feature/Add_GraphQl_Filed_Dupli… #282

Merge pull request #170 from Ostorlab/feature/Add_GraphQl_Filed_Dupli…

Merge pull request #170 from Ostorlab/feature/Add_GraphQl_Filed_Dupli… #282

name: Lint And Format Checker.
on:
pull_request:
branches: [ "*" ]
push:
branches: [ "master" ]
jobs:
ruff:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.11" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
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