File tree Expand file tree Collapse file tree 3 files changed +0
-397
lines changed
Expand file tree Collapse file tree 3 files changed +0
-397
lines changed Original file line number Diff line number Diff line change 8787 flags : unittests
8888 name : codecov-umbrella
8989
90- build :
91- name : Build Package
92- runs-on : ubuntu-latest
93- needs : [lint, test]
94- steps :
95- - name : Checkout code
96- uses : actions/checkout@v4
97-
98- - name : Set up Python
99- uses : actions/setup-python@v4
100- with :
101- python-version : ${{ env.PYTHON_VERSION }}
102-
103- - name : Install UV
104- uses : astral-sh/setup-uv@v3
105- with :
106- version : " latest"
107-
108- - name : Install build dependencies
109- run : |
110- uv sync --extra dev
111- uv pip install build twine
112-
113- - name : Build package
114- run : uv run python -m build
115-
116- - name : Check package
117- run : uv run twine check dist/*
118-
119- - name : Upload build artifacts
120- uses : actions/upload-artifact@v3
121- with :
122- name : dist
123- path : dist/
124-
125- security :
126- name : Security Scan
127- runs-on : ubuntu-latest
128- steps :
129- - name : Checkout code
130- uses : actions/checkout@v4
131-
132- - name : Set up Python
133- uses : actions/setup-python@v4
134- with :
135- python-version : ${{ env.PYTHON_VERSION }}
136-
137- - name : Install UV
138- uses : astral-sh/setup-uv@v3
139- with :
140- version : " latest"
141-
142- - name : Install dependencies
143- run : |
144- uv sync --extra dev
145- uv pip install safety bandit[toml]
146-
147- - name : Run safety check
148- run : uv run safety check
149-
150- - name : Run bandit security linter
151- run : uv run bandit -r src/ --skip B101
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments