Switch to using sslmode=require
for connections to backend DB (#151)
#66
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: Linter | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
concurrency: | |
group: linter-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v2 | |
- name: Check if python changes are present | |
id: check | |
env: | |
GITHUB_REPO: ${{ github.repository }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
continue-on-error: true | |
run: ./scripts/ci_check_no_file_changes.sh python | |
- name: Set up Python ${{ matrix.python-version }} | |
if: steps.check.outcome == 'failure' | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dev environment | |
if: steps.check.outcome == 'failure' | |
run: make dev | |
- name: Flake8 | |
if: steps.check.outcome == 'failure' | |
run: make flake8 | |
- name: Black | |
if: steps.check.outcome == 'failure' | |
run: make black |