Use different command to install deps #4
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: Run affils code checks | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Pipenv | |
run: pip install pipenv | |
- name: Install dependencies | |
run: pipenv install | |
- name: Format | |
run: pipenv run invoke fmt | |
- name: Lint | |
run: pipenv run invoke lint | |
- name: Check types | |
run: pipenv run invoke types | |
- name: Run tests | |
run: pipenv run invoke test |