ci,devbox: fix for ci
This commit is contained in:
parent
c152cf651d
commit
7f8197785e
2 changed files with 4 additions and 7 deletions
6
.github/workflows/checks.yml
vendored
6
.github/workflows/checks.yml
vendored
|
@ -28,10 +28,10 @@ jobs:
|
|||
run: devbox run poetry run mypy .
|
||||
|
||||
- name: check for black formatting compliance
|
||||
run: devbox run poetry run "black --check ."
|
||||
run: devbox run poetry run black --check .
|
||||
|
||||
- name: analyse isort compliance
|
||||
run: devbox run poetry run "isort --check *.py **/*.py"
|
||||
run: devbox run poetry run isort --check *.py **/*.py
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -40,7 +40,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: install devbox
|
||||
uses: jetpack-io/devbox-install-action@v0.3.0
|
||||
uses: jetpack-io/devbox-install-action@v0.7.0
|
||||
|
||||
- name: install dependencies
|
||||
run: devbox run poetry install
|
||||
|
|
|
@ -5,10 +5,7 @@
|
|||
"poetry@latest"
|
||||
],
|
||||
"shell": {
|
||||
"init_hook": [
|
||||
"poetry install",
|
||||
"poetry shell"
|
||||
]
|
||||
"init_hook": ["poetry install"]
|
||||
},
|
||||
"nixpkgs": {
|
||||
"commit": "f80ac848e3d6f0c12c52758c0f25c10c97ca3b62"
|
||||
|
|
Loading…
Add table
Reference in a new issue