fix: kafka topic name regex #1396
Workflow file for this run
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: Code quality checks | |
on: | |
pull_request: | |
jobs: | |
py-scripts-lint: | |
name: Check for formatting of python scripts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install Dependencies | |
run: npm run setup:python | |
# Reference: https://black.readthedocs.io/en/stable/integrations/github_actions.html | |
- name: Check formatting for Python files | |
uses: psf/black@stable | |
with: | |
options: '--check --verbose' | |
formatting-lint: | |
name: Check for formatting & lint errors | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version-file: .nvmrc | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm run setup:npm | |
- name: Run Lint Checks | |
run: | | |
npm run lint | |
- run: git diff --exit-code | |
- name: Error message | |
if: ${{ failure() }} | |
run: | | |
echo 'ESLint check is failing. Please run `npm run lint` on your working copy and commit the changes.' |