Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Merge pull request #264 from RedHatProductSecurity/components-flaws-s… #603

Merge pull request #264 from RedHatProductSecurity/components-flaws-s…

Merge pull request #264 from RedHatProductSecurity/components-flaws-s… #603

Workflow file for this run

name: Lint
on: [push]
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install gcc libkrb5-dev krb5-user
sudo ln -s /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 /usr/lib/libgssapi_krb5.so
- name: Install tox
run: pip install tox==3.24.5
- name: Check that code is formatted with black
run: tox -e black
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install gcc libkrb5-dev krb5-user
sudo ln -s /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 /usr/lib/libgssapi_krb5.so
- name: Install tox
run: pip install tox==3.24.5
- name: Check that imports are formatted with isort
run: tox -e isort
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install gcc libkrb5-dev krb5-user
sudo ln -s /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 /usr/lib/libgssapi_krb5.so
- name: Install tox
run: pip install tox==3.24.5
- name: Check that imports are formatted with isort
run: tox -e flake8