diff --git a/.github/workflows/maturin_upload_pypi.yml b/.github/workflows/maturin_upload_pypi.yml index 89af470..5fbc8cc 100644 --- a/.github/workflows/maturin_upload_pypi.yml +++ b/.github/workflows/maturin_upload_pypi.yml @@ -113,6 +113,26 @@ jobs: path: dist if-no-files-found: error + check_clippy_python_bindings: + name: Check clippy for Python bindings + runs-on: ubuntu-latest + + steps: + - name: Checkout reposistory + uses: actions/checkout@v4 + + - name: Setup Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - name: Setup clippy + run: rustup component add clippy + + - name: Run clippy + run: cargo clippy --all-targets --features python_bindings -- -D warnings + release: name: Release runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index d375266..21d38b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.5.2] - 2024-12-15 + ### Added - Prebuilt binaries for Python 3.13. @@ -84,6 +86,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - C bindings. [unreleased]: https://github.com/decompals/crunch64/compare/0.5.1...HEAD +[0.5.2]: https://github.com/decompals/crunch64/compare/0.5.1...0.5.2 [0.5.1]: https://github.com/decompals/crunch64/compare/0.5.0...0.5.1 [0.5.0]: https://github.com/decompals/crunch64/compare/0.4.0...0.5.0 [0.4.0]: https://github.com/decompals/crunch64/compare/0.3.1...0.4.0 diff --git a/Cargo.lock b/Cargo.lock index 5c99315..e955e5a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -134,7 +134,7 @@ dependencies = [ [[package]] name = "crunch64" -version = "0.5.1" +version = "0.5.2" dependencies = [ "crc32fast", "pyo3", @@ -144,7 +144,7 @@ dependencies = [ [[package]] name = "crunch64-cli" -version = "0.5.1" +version = "0.5.2" dependencies = [ "clap", "crunch64", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index d38af71..38f5621 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "crunch64-cli" -version = "0.5.1" +version = "0.5.2" edition = "2021" description = "A utility for compressing/decompressing files with common n64 formats" repository = "https://github.com/decompals/crunch64" @@ -12,5 +12,5 @@ name = "crunch64" path = "src/main.rs" [dependencies] -crunch64 = { version = "0.5.1", path = "../lib" } +crunch64 = { version = "0.5.2", path = "../lib" } clap = { version = "4.4.11", features = ["derive"] } diff --git a/lib/Cargo.toml b/lib/Cargo.toml index b92aba2..dae5a29 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "crunch64" # Version should be synced with lib/pyproject.toml and lib/crunch64/__init__.py -version = "0.5.1" +version = "0.5.2" edition = "2021" description = "A library for handling common compression formats for N64 games" repository = "https://github.com/decompals/crunch64" diff --git a/lib/crunch64/__init__.py b/lib/crunch64/__init__.py index 0d61bf3..62221dd 100644 --- a/lib/crunch64/__init__.py +++ b/lib/crunch64/__init__.py @@ -3,7 +3,7 @@ from __future__ import annotations # Version should be synced with lib/Cargo.toml and lib/pyproject.toml -__version_info__ = (0, 5, 1) +__version_info__ = (0, 5, 2) __version__ = ".".join(map(str, __version_info__)) __author__ = "decompals"