Skip to content

chore(dev): release v3.0.0-rc.1 #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 3, 2025
Merged
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
16 changes: 4 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,10 @@ jobs:
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
uses: dtolnay/rust-toolchain@stable

- name: Publish on crates.io
run: cargo publish --features full --token ${{ secrets.CRATES_TOKEN }}
run: cargo publish --token ${{ secrets.CRATES_TOKEN }}
check-publish:
name: Check Publish
runs-on: ubuntu-latest
Expand All @@ -35,11 +31,7 @@ jobs:
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
uses: dtolnay/rust-toolchain@stable

- name: Check if can publish on crates.io
run: cargo publish --features cli --token ${{ secrets.CRATES_TOKEN }} --dry-run -v
run: cargo publish --token ${{ secrets.CRATES_TOKEN }} --dry-run -v
28 changes: 17 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,17 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: ${{ matrix.target }}
override: true
profile: minimal

- name: Install cross
if: matrix.cross == true
uses: taiki-e/install-action@v2
with:
tool: cross

- name: Setup variables
shell: bash
Expand All @@ -92,12 +96,14 @@ jobs:
run: |
echo "target flag is: ${{ env.TARGET_FLAGS }}"
echo "target dir is: ${{ env.TARGET_DIR }}"
- name: Build release binary
uses: actions-rs/cargo@v1
with:
use-cross: ${{ matrix.cross }}
command: build
args: --verbose --release --no-default-features --features full,native-tls-vendored ${{ env.TARGET_FLAGS }}

- name: Build release binary (with cross)
if: matrix.cross == true
run: cross build --verbose --release --no-default-features --features full,native-tls-vendored ${{ env.TARGET_FLAGS }}

- name: Build release binary (with cargo)
if: matrix.cross == false
run: cargo build --verbose --release --no-default-features --features full,native-tls-vendored ${{ env.TARGET_FLAGS }}

- name: Strip release binary (linux and macos)
if: matrix.build == 'linux' || matrix.build == 'macos'
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/rustmsrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: Install Cargo MSRV
uses: actions-rs/install@v0.1
uses: taiki-e/install-action@v2
with:
crate: cargo-msrv
version: latest
use-tool-cache: true
tool: cargo-msrv

- name: Check MSRV
run: cargo msrv verify -- cargo check --all-features
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ is-terminal = {version = "0.4", optional = true}
lifetime = {version = "0.1", features = ["macros"]}
log = {version = "0.4", optional = true}
pretty_env_logger = {version = "0.5", optional = true}
pulldown-cmark = {version = "0.13", optional = true}
pulldown-cmark = {version = "0.10", optional = true}
reqwest = {version = "0.12", default-features = false, features = ["json"]}
scraper = {version = "0.23", optional = true}
serde = {version = "1.0", features = ["derive"]}
Expand Down Expand Up @@ -94,7 +94,7 @@ name = "languagetool-rust"
readme = "README.md"
repository = "https://github.com/jeertmans/languagetool-rust"
rust-version = "1.82.0"
version = "2.1.4"
version = "3.0.0-rc.1"

[package.metadata.docs.rs]
all-features = true
Expand Down
Loading