chore(deps): update determinatesystems/nix-installer-action action to v14 #571
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: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v14 | |
- uses: DeterminateSystems/magic-nix-cache-action@v4 | |
- run: nix develop --impure --command pre-commit run --all | |
- run: nix develop --impure --command pylama packetnetworking setup.py | |
pytests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.7" | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "${{matrix.python-version}}" | |
- run: pip install tox | |
- name: Test on Python ${{matrix.python-version}} | |
run: | | |
pyversion=py${{matrix.python-version}} | |
pyversion=${pyversion//./} | |
tox -e "$pyversion" |