From 4f0bc9d7305587082b5c202a18bc4dff67932605 Mon Sep 17 00:00:00 2001 From: Avik Basu Date: Thu, 6 Jun 2024 12:36:24 -0700 Subject: [PATCH] wkflw: lint Signed-off-by: Avik Basu --- .github/workflows/lint.yml | 40 ++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a60becbd..cd0b33bb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,20 +7,48 @@ on: branches: [ "main", "release/*" ] jobs: - black: - name: Black format + numalogic-core: + name: numalogic-core runs-on: ubuntu-latest + defaults: + run: + working-directory: ./libs/numalogic-core steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: psf/black@stable with: options: "--check --verbose" version: "~= 23.3" - - ruff: + - uses: chartboost/ruff-action@v1 + with: + version: "0.0.275" + numalogic-connectors: + name: numalogic-connectors runs-on: ubuntu-latest + defaults: + run: + working-directory: ./libs/numalogic-connectors steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: psf/black@stable + with: + options: "--check --verbose" + version: "~= 23.3" + - uses: chartboost/ruff-action@v1 + with: + version: "0.0.275" + numalogic-registry: + name: numalogic-registry + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./libs/numalogic-registry + steps: + - uses: actions/checkout@v4 + - uses: psf/black@stable + with: + options: "--check --verbose" + version: "~= 23.3" - uses: chartboost/ruff-action@v1 with: version: "0.0.275"