Merge pull request #155 from berquerant/dependabot/pip/tox-4.24.1 #262
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 | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
timeout-minutes: 5 | |
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" | |
cache: "pipenv" | |
- name: Install pipenv | |
run: pip install --user pipenv | |
- name: Sync | |
run: pipenv sync --dev | |
- name: Build | |
run: python setup.py sdist | |
- name: Lint | |
run: pipenv run check | |
- name: Vuln | |
run: pipenv check | |
- name: Test | |
run: pipenv run test |