Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
d220dfd
Define barrier array type
ppinchuk Apr 17, 2026
c6fb8eb
Allow barrier inputs in cost function
ppinchuk Apr 17, 2026
593bb1f
Add `BarrierOperator` enum
ppinchuk Apr 17, 2026
5d56028
Add `BarrierLayer` struct
ppinchuk Apr 17, 2026
8c6873f
Rename field
ppinchuk Apr 17, 2026
0861c66
New methods
ppinchuk Apr 17, 2026
a51f869
Update docstring
ppinchuk Apr 17, 2026
4d3dd8e
Add `build_single_barrier_layer`
ppinchuk Apr 17, 2026
fd93060
Docs
ppinchuk Apr 17, 2026
3189d80
Add `dropped_barrier_layers` as a field in solution
ppinchuk Apr 17, 2026
441dde3
Add func to record dropped barriers
ppinchuk Apr 17, 2026
3480711
Add helper methods for tests
ppinchuk Apr 17, 2026
d926f8e
Docs
ppinchuk Apr 17, 2026
e22b68d
Add test
ppinchuk Apr 17, 2026
4d44541
Update initializer
ppinchuk Apr 17, 2026
4c9ade5
Add funcs to compute barrier layers from cost function
ppinchuk Apr 17, 2026
5cc0305
Add `add_bool_layer_to_data` func
ppinchuk Apr 17, 2026
8f21116
Add tests
ppinchuk Apr 17, 2026
7a997b3
Add `neighborhood_subset` function
ppinchuk Apr 17, 2026
e0cc2ac
Add functions to get barrier subset
ppinchuk Apr 17, 2026
e33f84e
Add more helper methods
ppinchuk Apr 17, 2026
816118a
Add hard barrier avoidance logic in get 3x3
ppinchuk Apr 17, 2026
2ffa9a7
Move swap initialization to separate module
ppinchuk Apr 17, 2026
105a7a8
MInor refactor
ppinchuk Apr 17, 2026
e3999aa
Rename field
ppinchuk Apr 17, 2026
10b1c24
Refactor
ppinchuk Apr 17, 2026
d003b32
Docs
ppinchuk Apr 17, 2026
181141a
Add tests
ppinchuk Apr 17, 2026
7e6c75b
Docs
ppinchuk Apr 17, 2026
2ae6c1a
Add tests
ppinchuk Apr 17, 2026
bc1da55
Add tests
ppinchuk Apr 17, 2026
66d8690
Add tests
ppinchuk Apr 17, 2026
847a8a3
Move tests
ppinchuk Apr 17, 2026
c921564
Minor refactor
ppinchuk Apr 17, 2026
3abdd10
Refactor
ppinchuk Apr 17, 2026
7462df7
Minor refactor
ppinchuk Apr 17, 2026
f7c1fd2
Minor refactor
ppinchuk Apr 17, 2026
a95e9b0
Scenario now uses soft barriers
ppinchuk Apr 17, 2026
b8631b9
Docs
ppinchuk Apr 17, 2026
a02a87a
Update routing to support barriers
ppinchuk Apr 17, 2026
69d2f1c
Update python interface
ppinchuk Apr 17, 2026
309e0db
Add `BarrierLayer` model
ppinchuk Apr 17, 2026
ffa9746
Pass barrier layers down
ppinchuk Apr 17, 2026
4868dee
Fix order
ppinchuk Apr 17, 2026
764e1aa
Use barrier layers to compute hash
ppinchuk Apr 17, 2026
dc5be91
Add barrier layers as config input
ppinchuk Apr 17, 2026
684f8c4
Add barrier layer as input
ppinchuk Apr 17, 2026
a621442
Pass through barrier layer input
ppinchuk Apr 17, 2026
1590cc3
Add new input
ppinchuk Apr 17, 2026
2e9f723
Add logic to build barrier mask
ppinchuk Apr 17, 2026
640f5f8
Catch and report dropped barrier layers
ppinchuk Apr 17, 2026
5fcc60f
Add minor assert
ppinchuk Apr 17, 2026
6daa84c
Fix tests
ppinchuk Apr 17, 2026
a012ecc
Use a revrt error
ppinchuk Apr 17, 2026
114618f
Exit early if no routes
ppinchuk Apr 17, 2026
7b218b0
Add barrier tests
ppinchuk Apr 17, 2026
cb9386a
Add test for barriers
ppinchuk Apr 17, 2026
26d013d
Add barrier tests
ppinchuk Apr 17, 2026
8484645
Add tests
ppinchuk Apr 18, 2026
f40cbff
Add support for !=
ppinchuk Apr 18, 2026
d754238
Remove unused function
ppinchuk Apr 18, 2026
76047ff
Fix a star logic
ppinchuk Apr 18, 2026
d9eb6e7
Fix docs
ppinchuk Apr 18, 2026
93a3af9
Bump Python version
ppinchuk Apr 18, 2026
213c8f2
Bump rust version
ppinchuk Apr 18, 2026
8ca18c1
PR comments
ppinchuk Apr 18, 2026
2d57f13
Fix outdated tests
ppinchuk Apr 18, 2026
7cd117c
Merge remote-tracking branch 'origin/main' into pp/barriers
ppinchuk Apr 21, 2026
341c261
Update lockfile
ppinchuk Apr 21, 2026
4a2aab8
Add labels
ppinchuk Apr 21, 2026
ec5aa77
Fix tags
ppinchuk Apr 21, 2026
88e5e31
Fix docs
ppinchuk Apr 21, 2026
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 @@ -19,7 +19,7 @@ jobs:
name: Run Rust benchmark with criterion
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
with:
Expand All @@ -29,7 +29,7 @@ jobs:
cache-write: false
environments: dev

- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
shared-key: "gha"
save-if: false
Expand All @@ -40,7 +40,7 @@ jobs:
pixi r -e dev cargo --locked criterion --output-format bencher --benches 2>&1 | tee output.txt

- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@a60cea5bc7b49e15c1f58f411161f99e0df48372
uses: benchmark-action/github-action-benchmark@a60cea5bc7b49e15c1f58f411161f99e0df48372 # v1.22.0
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
with:
name: Rust Benchmark
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
name: Lint Python Code Base with Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b # v3.6.1
with:
version: "latest"
args: "check"
src: "./revrt"
- uses: astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b
- uses: astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b # v3.6.1
with:
version: "latest"
args: "format --check"
Expand All @@ -37,7 +37,7 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
Expand Down Expand Up @@ -126,13 +126,13 @@ jobs:
python-version: ['3.13', '3.12',]

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -143,7 +143,7 @@ jobs:
python -m pip install tox tox-gh-actions>=2.0

- name: Load tox cache
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: .tox/
key: ${{ runner.os }}-${{ matrix.python-version }}-tox-v1-${{ hashFiles('**/pyproject.toml') }}
Expand All @@ -158,7 +158,7 @@ jobs:

- name: Save tox cache only on main
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: .tox/
key: ${{ runner.os }}-${{ matrix.python-version }}-tox-v1-${{ hashFiles('**/pyproject.toml') }}
14 changes: 7 additions & 7 deletions .github/workflows/ci-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
with:
Expand All @@ -26,7 +26,7 @@ jobs:
cache-write: ${{ github.ref == 'refs/heads/main' }}
environments: dev

- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
shared-key: "gha"
# Don't cache for cargo check
Expand All @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
with:
Expand All @@ -53,7 +53,7 @@ jobs:
cache-write: ${{ github.ref == 'refs/heads/main' }}
environments: dev

- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
shared-key: "gha"
# Don't cache for cargo fmt/clippy
Expand All @@ -78,9 +78,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.6
with:
toolchain: 1.87.0
override: true
Expand All @@ -94,7 +94,7 @@ jobs:
cache-write: ${{ github.ref == 'refs/heads/main' }}
environments: dev

- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
shared-key: "gha"
save-if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
Expand All @@ -32,7 +32,7 @@ jobs:
pixi run -e dev --locked tests

- name: Upload coverage to Codecov
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Initialize CodeQL
uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225
uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Pull Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
Expand All @@ -34,7 +34,7 @@ jobs:
run: pixi run -e dev python-docs # This errors on warnings

- name: deploy
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
if: startsWith(github.ref, 'refs/tags/v')
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,29 @@ jobs:
# - runner: ubuntu-22.04
# target: ppc64le
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: auto
- name: Build free-threaded wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i python3.13t
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: wheels-linux-${{ matrix.platform.target }}
path: dist
Expand All @@ -71,29 +71,29 @@ jobs:
- runner: ubuntu-22.04
target: armv7
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: musllinux_1_2
- name: Build free-threaded wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i python3.13t
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: musllinux_1_2
- name: Upload wheels
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: wheels-musllinux-${{ matrix.platform.target }}
path: dist
Expand All @@ -108,32 +108,32 @@ jobs:
- runner: windows-latest
target: x86
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.x
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.13t
architecture: ${{ matrix.platform.target }}
- name: Build free-threaded wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i python3.13t
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: wheels-windows-${{ matrix.platform.target }}
path: dist
Expand All @@ -148,45 +148,45 @@ jobs:
- runner: macos-14
target: aarch64
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Build free-threaded wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i python3.13t
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: wheels-macos-${{ matrix.platform.target }}
path: dist

sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
fetch-tags: true
- name: Build sdist
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
with:
command: sdist
args: --out dist
- name: Upload sdist
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: wheels-sdist
path: dist
Expand Down Expand Up @@ -216,6 +216,6 @@ jobs:
find wheels-* -type f \( -name "*.whl" -o -name "*.tar.gz" \) -exec cp {} dist/ \;
- name: Publish to PyPI
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
with:
packages-dir: dist
Loading
Loading