WIP: DO NOT MERGE: Investigate 960 #3
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
%YAML 1.2 | ||
--- | ||
name: Linting & Code Quality | ||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.8" | ||
- name: Install openldap | ||
# yamllint disable rule:line-length | ||
run: | | ||
sudo apt-get update && sudo apt-get upgrade -y | ||
sudo apt-get install -y libldap2-dev libsasl2-dev slapd ldap-utils tox lcov valgrind | ||
# yamllint enable rule:line-length | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install poetry --user | ||
python -m poetry install | ||
- name: Run Pre-Commit | ||
run: | | ||
poetry run pre-commit run --all-files |