summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2025-01-14 10:04:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2025-01-14 10:04:11 +0000
commitc71a090d2dcb7b8332b02d5f3c72e4248acf1c19 (patch)
treeb742ed8e66fadf6668042e2de714484e6212acaa /.github
parentReleasing debian version 26.0.1-1. (diff)
downloadsqlglot-c71a090d2dcb7b8332b02d5f3c72e4248acf1c19.tar.xz
sqlglot-c71a090d2dcb7b8332b02d5f3c72e4248acf1c19.zip
Merging upstream version 26.1.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/python-package.yml2
-rw-r--r--.github/workflows/python-publish.yml9
-rw-r--r--.github/workflows/rust-bench.yml13
3 files changed, 21 insertions, 3 deletions
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index 2140649..afccb9c 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -7,7 +7,7 @@ on:
branches: [ main ]
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
index c2cb027..8a8493c 100644
--- a/.github/workflows/python-publish.yml
+++ b/.github/workflows/python-publish.yml
@@ -48,9 +48,14 @@ jobs:
runs-on: ${{ (matrix.os == 'linux' && 'ubuntu') || matrix.os }}-latest
steps:
- uses: actions/checkout@v3
- - uses: actions/setup-python@v4
+ - uses: actions/setup-python@v5
with:
- python-version: '3.11'
+ python-version: '3.13'
+ architecture: ${{ matrix.python-architecture || 'x64' }}
+ - uses: actions/setup-python@v5
+ if: matrix.os == 'windows'
+ with:
+ python-version: '3.7'
architecture: ${{ matrix.python-architecture || 'x64' }}
- name: Build wheels
uses: PyO3/maturin-action@v1
diff --git a/.github/workflows/rust-bench.yml b/.github/workflows/rust-bench.yml
new file mode 100644
index 0000000..8720282
--- /dev/null
+++ b/.github/workflows/rust-bench.yml
@@ -0,0 +1,13 @@
+on: [pull_request]
+name: benchmark pull requests
+jobs:
+ run-benchmark:
+ name: run benchmark
+ runs-on: ubuntu-latest
+ if: ${{ false }} # Uncomment this when the workflow is fixed (currently fails in PRs)
+ steps:
+ - uses: actions/checkout@v4
+ - uses: boa-dev/criterion-compare-action@v3
+ with:
+ branchName: ${{ github.base_ref }}
+ cwd: "sqlglotrs"