Skip to content

Set python version for the linting checks #3

Set python version for the linting checks

Set python version for the linting checks #3

name: Python Continous Integration
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
release:
types: [created]
workflow_dispatch:
jobs:
linting:
runs-on: ubuntu-latest
strategy:
matrix:
tools: ["black", "bandit", "pylint", "flake8"]
steps:
- uses: actions/checkout@v4
- name: ${{ matrix.tools }}
uses: microsoft/[email protected]
with:
${{ matrix.tools }}: true
args: ${{ matrix.args }}
workdir: "."
python_version: 3.12.8
testing:
runs-on: ubuntu-latest
steps:
- name: Pytest
uses: microsoft/[email protected]
with:
pytest: true