Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Lint Check

on:
workflow_call:

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Main

on:
pull_request:
push:
Expand All @@ -24,3 +25,9 @@ jobs:
name: Tests
needs: [lint, typecheck]
uses: ./.github/workflows/tests.yaml

snyk:
name: Snyk
needs: [lint, typecheck, tests]
uses: ./.github/workflows/snyk.yaml
secrets: inherit
19 changes: 19 additions & 0 deletions .github/workflows/snyk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Snyk Security Scan

on:
workflow_call:
secrets:
SNYK_TOKEN:
required: true

jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/python@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=high
1 change: 1 addition & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Tests

on:
workflow_call:

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/typecheck.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Type Check

on:
workflow_call:

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,6 @@ cython_debug/

# uv
.uv/

# Snyk Security Extension - AI Rules (auto-generated)
.cursor/rules/snyk_rules.mdc