chore(deps): update determinatesystems/magic-nix-cache-action action to v8 #569
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@v10 | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
- 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" |