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

Merge pull request #274 from RedHatProductSecurity/fix-depcli-usage #670

Merge pull request #274 from RedHatProductSecurity/fix-depcli-usage

Merge pull request #274 from RedHatProductSecurity/fix-depcli-usage #670

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==4.11.1
- 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==4.11.1
- 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==4.11.1
- name: Check that imports are formatted with isort
run: tox -e flake8