Skip to content

Commit

Permalink
Include simple mypy job
Browse files Browse the repository at this point in the history
  • Loading branch information
jonded94 authored and rtobar committed Aug 7, 2024
1 parent d07a122 commit f1e12a5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint

on:
push:
pull_request:
schedule:
# 00:00 UTC every Saturday, don't bother anyone
- cron: '0 0 * * 6'

jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11.8
architecture: x64
- name: Checkout
uses: actions/checkout@v3
- name: Install mypy & wheel
run: pip install mypy wheel
- name: Install package
run: python setup.py bdist_wheel && pip install dist/crc32c*.whl
- name: Run mypy
run: mypy --strict test/test_crc32c.py

0 comments on commit f1e12a5

Please sign in to comment.