Skip to content

Commit

Permalink
added the missing features flag to python workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nicelgueta committed Jun 19, 2024
1 parent 70641d0 commit 3cbc427
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pyci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
paths:
- src/*
- rustyrs.pyi
- Cargo.toml
- Cargo.lock
- .github/workflows/*

permissions:
contents: read
Expand Down Expand Up @@ -45,7 +48,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --features python
sccache: 'true'
manylinux: auto
- name: Upload wheels
Expand Down Expand Up @@ -76,7 +79,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --features python
sccache: 'true'
manylinux: musllinux_1_2
- name: Upload wheels
Expand Down Expand Up @@ -104,7 +107,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --features python
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -130,7 +133,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --features python
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- "main"
paths:
- Cargo.toml
- src/*
- Cargo.lock

jobs:
create-tag:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustyrs"
version = "0.4.1"
version = "0.4.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ I needed a way to generate random slugs for a web project so thought it was a go
### Key features
- No dependencies
- Fast
- Customizable slug length in words
- Customisable slug length in words
- Over half a million unique combinations for 2-word slugs ranging up to over **280 trillion** unique combinations for 5-word slugs

## Usage
Expand Down

0 comments on commit 3cbc427

Please sign in to comment.