Skip to content
Closed
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
6 changes: 3 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
name: Performance budget
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
path: head
- uses: actions/checkout@v4
- uses: actions/checkout@v7
if: github.event_name == 'pull_request'
with:
ref: ${{ github.event.pull_request.base.sha }}
path: base
- uses: astral-sh/setup-uv@v6
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
enable-cache: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
matrix:
python: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python }}
enable-cache: true
Expand All @@ -48,8 +48,8 @@ jobs:
name: Build and check the package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- name: Build sdist and wheel
run: uv build
- name: Check metadata and the PyPI description
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/claude-issue-helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 8
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
--commit="$GITHUB_SHA" --output-dir="$RUNNER_TEMP/claude-issue-output" --execute
- name: Upload review artifacts
if: ${{ always() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: claude-issue-proposal
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/claude-pilot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.12"
- name: Install package without the model credential
Expand All @@ -45,7 +45,7 @@ jobs:
run: python research/claude_pilot.py --execute
- name: Upload public and synthetic observations only
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: claude-spider-pilot
path: research/results-claude/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
resolve:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- name: Resolve sqlguardllm with each target
run: |
set +e
Expand All @@ -40,8 +40,8 @@ jobs:
matrix:
sqlglot: ["30.19.0", "latest"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- run: uv sync
- name: Pin sqlglot
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
env:
SQLGUARD_REQUIRE_CONFORMANCE: "1"
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- uses: actions/setup-node@v7
with:
node-version: 22
cache: npm
cache-dependency-path: clients/node/package-lock.json
- uses: actions/setup-dotnet@v4
- uses: actions/setup-dotnet@v6
with:
dotnet-version: 10.0.x
- name: Python (in-process vs HTTP)
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
actions: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- run: uv sync --group docs
- name: Restore and refresh adoption snapshots
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'schedule')
Expand Down Expand Up @@ -52,15 +52,15 @@ jobs:
with:
args: --no-progress --offline --index-files index.html --include-fragments "site/**/*.html" --root-dir "${{ github.workspace }}/site"
fail: true
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'schedule')
with:
name: adoption-history
path: docs/assets/adoption-history.json
if-no-files-found: error
- uses: actions/configure-pages@v5
- uses: actions/configure-pages@v6
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'schedule')
- uses: actions/upload-pages-artifact@v3
- uses: actions/upload-pages-artifact@v5
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'schedule')
with:
path: site/sqlguardllm
Expand All @@ -77,4 +77,4 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
12 changes: 6 additions & 6 deletions .github/workflows/dotnet-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
env:
SQLGUARD_REQUIRE_CONFORMANCE: "1"
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
- uses: actions/setup-dotnet@v4
- uses: actions/setup-dotnet@v6
with:
dotnet-version: |
8.0.x
Expand Down Expand Up @@ -70,11 +70,11 @@ jobs:
env:
WARNINGS: "IL2026;IL2046;IL2057;IL2060;IL2062;IL2067;IL2070;IL2072;IL2075;IL2087;IL2091;IL3050;IL3051;IL3053"
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
- uses: actions/setup-dotnet@v4
- uses: actions/setup-dotnet@v6
with:
dotnet-version: |
8.0.x
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/engine-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
- name: Test dependencies (only the tests use them, the binary does not)
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
mkdir -p dist-engine/bench
cp bench-onedir.json "dist-engine/bench/${{ matrix.platform }}-onedir.json"
cp bench-onefile.json "dist-engine/bench/${{ matrix.platform }}-onefile.json"
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: engine-${{ matrix.platform }}
path: dist-engine/
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/engines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
--health-cmd "/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P Test-only-1234 -Q 'SELECT 1'"
--health-interval 10s --health-timeout 5s --health-retries 20
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
enable-cache: true
Expand Down Expand Up @@ -92,8 +92,8 @@ jobs:
--health-cmd "pg_isready -U postgres" --health-interval 5s --health-timeout 5s
--health-retries 10
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
enable-cache: true
Expand Down Expand Up @@ -129,8 +129,8 @@ jobs:
--health-cmd "/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P Test-only-1234 -Q 'SELECT 1'"
--health-interval 10s --health-timeout 5s --health-retries 20
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
enable-cache: true
Expand Down Expand Up @@ -168,8 +168,8 @@ jobs:
--health-cmd "/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P Test-only-1234 -Q 'SELECT 1'"
--health-interval 10s --health-timeout 5s --health-retries 20
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
enable-cache: true
Expand Down Expand Up @@ -217,8 +217,8 @@ jobs:
--health-cmd "/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P Test-only-1234 -Q 'SELECT 1'"
--health-interval 10s --health-timeout 5s --health-retries 20
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
enable-cache: true
Expand All @@ -240,7 +240,7 @@ jobs:
run: uv run pytest tests/fuzz -m fuzz -v
- name: Keep the statistics and any new regression case
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: fuzz-${{ github.run_id }}
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/langchain-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
name: Build, test and lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
- name: Build
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/mcp-registry-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
manifest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: '3.12'
- run: python -m pip install jsonschema
Expand Down Expand Up @@ -46,8 +46,8 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: '3.12'
- run: python -m pip install ".[mcp]" pytest hypothesis duckdb duckdb-engine anthropic
Expand All @@ -65,8 +65,8 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: '3.12'
- name: Install from PyPI and exercise MCP over stdio
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
run:
working-directory: clients/node
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node }}
cache: npm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
run:
working-directory: clients/node
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: "24"
cache: npm
Expand All @@ -43,7 +43,7 @@ jobs:
test "$(ls npm/packed/*.tgz | wc -l)" -eq 6
grep -q '^dist/index.js$' npm/packed/sqlguardllm-[0-9]*.files.txt
grep -q '^engine/sqlguardllm-engine$' npm/packed/sqlguardllm-engine-linux-x64-*.files.txt
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: npm-pack-files
path: clients/node/npm/packed/*.files.txt
4 changes: 2 additions & 2 deletions .github/workflows/playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 22
- name: Install test dependencies and Chromium
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-langchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- name: The requested version is the one in the package
env:
REQUESTED_VERSION: ${{ inputs.version }}
Expand All @@ -49,7 +49,7 @@ jobs:
wheel=$(find dist -maxdepth 1 -name 'langchain_sqlguardllm-*.whl')
test -n "$wheel"
uv run --isolated --no-project --with "./$wheel" python -c 'import langchain_sqlguardllm'
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: dist
path: dist/
Expand All @@ -64,7 +64,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: dist
path: dist/
Expand Down
Loading
Loading