Bump dependencies and perform minor linting #150
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: push | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependendencies | |
uses: ./.github/actions/setup | |
- name: Lint | |
run: make lint | |
- name: Typecheck | |
run: make typecheck | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: ./.github/actions/setup | |
# cracklib provides the wordlist used in m38, but we skip this dependency | |
# because we also skip the test that requires it. | |
- name: Install system dependencies | |
run: sudo apt-get -y install cracklib-runtime | |
if: false | |
- name: Test | |
run: python -m unittest -v --locals --buffer |