audit-labs/audit-tools

A collection of scripts, queries, and other goodies you can use in an audit.

clone: git clone https://gitbay.org/audit-labs/audit-tools.git

v1.0.0: .github/workflows/ruff.yml · raw

 1name: Ruff
 2
 3on:
 4  push:
 5    paths:
 6      - '**.py'
 7      - 'pyproject.toml'
 8      - '.github/workflows/ruff.yml'
 9
10jobs:
11  build:
12    runs-on: ubuntu-latest
13    strategy:
14      matrix:
15        python-version: ["3.x"]
16    steps:
17    - uses: actions/checkout@v5
18    - name: Set up Python ${{ matrix.python-version }}
19      uses: actions/setup-python@v6
20      with:
21        python-version: ${{ matrix.python-version }}
22    - name: Install dependencies
23      run: |
24        python -m pip install --upgrade pip
25        pip install ".[dev]"
26    - name: Ruff
27      run: |
28        ruff check .
29        ruff format --check .