Skip to content

Commit ca2550c

Browse files
committed
Simplify CI workflow: remove build and security jobs, keep only linting and testing
1 parent 9eec8ce commit ca2550c

File tree

3 files changed

+0
-397
lines changed

3 files changed

+0
-397
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -87,65 +87,3 @@ jobs:
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

.github/workflows/publish.yml

Lines changed: 0 additions & 161 deletions
This file was deleted.

0 commit comments

Comments
 (0)