Skip to content

Commit

Permalink
Update workflows (#23)
Browse files Browse the repository at this point in the history
* updating workflow versions

* remove safety options
  • Loading branch information
davidslusser authored Mar 17, 2024
1 parent 311c42a commit e6fc7d4
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 14 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/bandit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ jobs:
runs-on: ubuntu-latest
name: "bandit"
steps:
- uses: davidslusser/[email protected].0
- uses: davidslusser/[email protected].1
with:
src: "src"
options: "-c pyproject.toml -r"
#pip_install_command: "pip install .[dev]"
pip_install_command: "pip install .[dev]"
python_version: "3.11"
5 changes: 3 additions & 2 deletions .github/workflows/black.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ jobs:
runs-on: ubuntu-latest
name: "black"
steps:
- uses: davidslusser/[email protected].0
- uses: davidslusser/[email protected].1
with:
src: "src"
options: ""
#pip_install_command: "pip install .[dev]"
pip_install_command: "pip install .[dev]"
python_version: "3.11"
3 changes: 2 additions & 1 deletion .github/workflows/isort.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
runs-on: ubuntu-latest
name: "isort"
steps:
- uses: davidslusser/[email protected].0
- uses: davidslusser/[email protected].1
with:
src: "src"
python_version: "3.11"
7 changes: 4 additions & 3 deletions .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ jobs:
runs-on: ubuntu-latest
name: "mypy"
steps:
- uses: davidslusser/[email protected].0
- uses: davidslusser/[email protected].1
with:
src: "src"
options: "-v"
#pip_install_command: "pip install -e .[dev]"
options: ""
pip_install_command: "pip install -e .[dev]"
python_version: "3.11"
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
name: "pypi"
steps:
- uses: davidslusser/[email protected].0
- uses: davidslusser/[email protected].2
with:
build_command: "python -m build"
pypi_username: ${{ secrets.PYPI_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
name: "pytest"
steps:
- uses: davidslusser/[email protected].0
- uses: davidslusser/[email protected].1
with:
src: ""
options: "--cov=src"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ jobs:
uses: davidslusser/[email protected]
with:
src: "src"
options: "-v"
options: "-v"
python_version: "3.11"
5 changes: 2 additions & 3 deletions .github/workflows/safety.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ jobs:
runs-on: ubuntu-latest
name: "safety"
steps:
- uses: davidslusser/[email protected].0
- uses: davidslusser/[email protected].1
with:
options: "--debug"
options: ""
pip_install_command: "pip install -e .[dev]"
python_version: "3.11"

0 comments on commit e6fc7d4

Please sign in to comment.