Skip to content

Commit

Permalink
surplus 2.0.0 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
markjoshwel authored Sep 3, 2023
2 parents ccb4119 + 9752710 commit dd49301
Show file tree
Hide file tree
Showing 14 changed files with 2,785 additions and 850 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: qc
on:
workflow_dispatch:
push:
paths:
- '**.py'

jobs:
analyse:
Expand All @@ -17,18 +19,18 @@ jobs:
- name: install dependencies
run: devbox run poetry install

- name: buil wheel
- name: build wheel
id: build
run: devbox run poetry build

- name: analyse with mypy
run: devbox run poetry run mypy surplus.py test.py
run: devbox run poetry run mypy **/*.py

- name: check for black formatting compliance
run: devbox run poetry run "black --check surplus.py test.py"
run: devbox run poetry run "black --check **/*.py"

- name: analyse isort compliance
run: devbox run poetry run "isort --check surplus.py test.py"
run: devbox run poetry run "isort --check **/*.py"

test:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
id: build
run: devbox run poetry build

- name: duplicate non-versioned wheel
run: cp dist/surplus-*.whl dist/surplus-py3-none-any.whl

- name: generate provenance subjects
id: hash
run: |
Expand Down
Loading

0 comments on commit dd49301

Please sign in to comment.