name: Linter Checks on: pull_request: branches: - main - current-release - "*LTS" types: [opened, synchronize, reopened, ready_for_review] jobs: linter: if: github.event.pull_request.draft == false name: lint runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [ubuntu-latest] config: - { python-version: "3.10", tox-env: lint} steps: - name: Checkout the repository uses: actions/checkout@v2 id: checkout-branch - name: Run Linter Checks id: linter-check uses: harshanarayana/custom-actions@main with: python-version: ${{ matrix.config.python-version }} test-infra-tool: tox test-infra-version: latest action: tests test-additional-args: "-e=${{ matrix.config.tox-env }}"