Skip to content

Update GitHub actions (#22) #109

Update GitHub actions (#22)

Update GitHub actions (#22) #109

Workflow file for this run

name: Lint
on: push
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Python dependencies
run: pip install black mypy .
- name: Run black
uses: wearerequired/lint-action@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
black: true
auto_fix: true
- name: Run mypy
run: |
mypy bloomfilter/ --strict