Skip to content

Commit ae1193e

Browse files
committed
Update
1 parent fcee371 commit ae1193e

9 files changed

Lines changed: 26904 additions & 27288 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -17,42 +17,13 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- name: Set up pixi
20-
<<<<<<< before updating
2120
uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
2221
with:
2322
environments: build
2423
- name: Set version
2524
run: pixi run -e build set-version
26-
||||||| last update
27-
uses: prefix-dev/setup-pixi@19eac09b398e3d0c747adc7921926a6d802df4da # v0.8.8
28-
with:
29-
environments: build
30-
=======
31-
uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
32-
- name: Derive version
33-
id: version
34-
if: startsWith(github.ref, 'refs/tags/')
35-
shell: bash
36-
run: echo "version=$(git describe --tags --abbrev=0 | sed 's/^v//')" >> $GITHUB_OUTPUT
37-
- name: Replace version
38-
if: startsWith(github.ref, 'refs/tags/')
39-
run: |
40-
sed -i -e "s/0.0.0/${STEPS_VERSION_OUTPUTS_VERSION}/g" pyproject.toml
41-
env:
42-
STEPS_VERSION_OUTPUTS_VERSION: ${{ steps.version.outputs.version }}
43-
>>>>>>> after updating
4425
- name: Build project
45-
<<<<<<< before updating
4626
run: pixi run -e build build-sdist
47-
||||||| last update
48-
run: pixi run -e build build-wheel
49-
- name: Check package
50-
run: pixi run check-wheel
51-
=======
52-
run: pixi run build-wheel
53-
- name: Check package
54-
run: pixi run check-wheel
55-
>>>>>>> after updating
5627
- name: Upload package
5728
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5829
with:
@@ -105,7 +76,7 @@ jobs:
10576
printf '@cargo auditable %%*\n' > "C:/cargo-auditable-wrapper.cmd"
10677
echo "CARGO=C:\\cargo-auditable-wrapper.cmd" >> "$GITHUB_ENV"
10778
- name: Build wheel
108-
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
79+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0 # zizmor: ignore[cache-poisoning]
10980
with:
11081
command: build
11182
args: --out dist --release -i python3.10
@@ -117,7 +88,7 @@ jobs:
11788
before-script-linux: |
11889
${{ case(github.event_name == 'release', 'cargo install cargo-auditable@0.7.4 --locked && printf ''#!/bin/sh\nexec cargo auditable "$@"\n'' > /usr/local/bin/cargo-auditable-wrapper && chmod +x /usr/local/bin/cargo-auditable-wrapper', '') }}
11990
- name: Check package
120-
run: pixi run check-wheel
91+
run: pixi run -e build check-wheel
12192
- name: Upload package
12293
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
12394
with:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Chore
22
on:
3-
pull_request_target:
3+
pull_request_target: # zizmor: ignore[dangerous-triggers]
44
branches: [main]
55
types: [opened, reopened, edited, synchronize]
66

.github/workflows/ci.yml

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -13,53 +13,28 @@ permissions:
1313
contents: read
1414

1515
jobs:
16-
<<<<<<< before updating
17-
pre-commit-checks:
18-
name: Pre-commit Checks
19-
||||||| last update
20-
pre-commit:
21-
=======
2216
lint:
2317
name: Lint
24-
>>>>>>> after updating
2518
timeout-minutes: 30
2619
runs-on: ubuntu-latest
2720
steps:
2821
- name: Checkout branch
29-
<<<<<<< before updating
3022
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3123
with:
3224
# needed for 'pre-commit-mirrors-insert-license'
3325
fetch-depth: 0
34-
||||||| last update
35-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36-
=======
37-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
38-
>>>>>>> after updating
3926
- name: Set up pixi
40-
<<<<<<< before updating
4127
uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
4228
with:
4329
environments: default lint polars-minimal
4430
- name: Install Rust
4531
run: rustup show
4632
- name: Cache Rust dependencies
4733
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
48-
- name: pre-commit
49-
run: pixi run pre-commit-run --color=always --show-diff-on-failure
50-
||||||| last update
51-
uses: prefix-dev/setup-pixi@19eac09b398e3d0c747adc7921926a6d802df4da # v0.8.8
52-
with:
53-
environments: default lint
54-
- name: pre-commit
55-
run: pixi run pre-commit-run --color=always --show-diff-on-failure
56-
=======
57-
uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
5834
- name: Run linting
5935
run: pixi run lint
6036
env:
6137
CLICOLOR_FORCE: 1
62-
>>>>>>> after updating
6338

6439
unit-tests:
6540
name: Unit Tests (${{ contains(matrix.os, 'ubuntu') && 'Linux' || (contains(matrix.os, 'windows') && 'Windows' || 'macOS') }}) - ${{ matrix.environment }}
@@ -68,7 +43,6 @@ jobs:
6843
strategy:
6944
fail-fast: true
7045
matrix:
71-
<<<<<<< before updating
7246
os: [ubuntu-latest, windows-latest, macos-latest]
7347
environment: [py310, py311, py312, py313, py314]
7448
with_optionals: [false]
@@ -87,46 +61,13 @@ jobs:
8761
- os: ubuntu-latest
8862
environment: polars-minimal
8963
with_optionals: false
90-
||||||| last update
91-
environment:
92-
- py310
93-
- py311
94-
- py312
95-
- py313
96-
os:
97-
- ubuntu-latest
98-
- macos-latest
99-
- windows-latest
100-
=======
101-
environment:
102-
- py310
103-
- py311
104-
- py312
105-
- py313
106-
- py314
107-
os:
108-
- ubuntu-latest
109-
- macos-latest
110-
- windows-latest
111-
>>>>>>> after updating
11264
steps:
11365
- name: Checkout branch
114-
<<<<<<< before updating
115-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
116-
||||||| last update
117-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
118-
with:
119-
fetch-depth: 0
120-
=======
12166
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
122-
with:
123-
fetch-depth: 0
124-
>>>>>>> after updating
12567
- name: Set up pixi
12668
uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
12769
with:
12870
environments: ${{ matrix.environment }}
129-
<<<<<<< before updating
13071
# FIXME: Remove when `s3_server` fixture does not start a process anymore
13172
post-cleanup: ${{ matrix.os != 'windows-latest' }}
13273
- name: Install Rust
@@ -135,11 +76,6 @@ jobs:
13576
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
13677
- name: Install repository
13778
run: pixi run -e ${{ matrix.environment }} postinstall
138-
||||||| last update
139-
- name: Install repository
140-
run: pixi run -e ${{ matrix.environment }} postinstall
141-
=======
142-
>>>>>>> after updating
14379
- name: Run pytest
14480
run: pixi run -e ${{ matrix.environment }} test-coverage --color=yes ${{ matrix.with_optionals && '-m with_optionals' || '-m "not with_optionals"'}} --cov=dataframely --cov-report=xml
14581
- name: Upload codecov
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Chore
1+
name: Release Drafter
22
on:
33
push:
44
branches: [main]

.github/workflows/scorecard.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ jobs:
7474
# Upload the results to GitHub's code scanning dashboard (optional).
7575
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7676
- name: "Upload to code-scanning"
77-
<<<<<<< before updating
78-
uses: github/codeql-action/upload-sarif@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
79-
||||||| last update
80-
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
81-
=======
8277
uses: github/codeql-action/upload-sarif@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
83-
>>>>>>> after updating
8478
with:
8579
sarif_file: results.sarif

.lefthook.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ pre-commit:
2828
- name: taplo
2929
glob: "*.toml"
3030
run: pixi {run} taplo format {staged_files}
31+
- name: cargo-fmt
32+
glob: "*.rs"
33+
run: pixi {run} cargo fmt
34+
- name: cargo-clippy
35+
glob: "*.rs"
36+
run: pixi {run} cargo clippy --all-targets
3137
- name: trailing-whitespace-fixer
3238
glob: "*"
3339
file_types: text

0 commit comments

Comments
 (0)