Skip to content

Commit

Permalink
Merge pull request #397 from RustyNova016/release/v0.4.2
Browse files Browse the repository at this point in the history
Release/v0.4.2
  • Loading branch information
RustyNova016 authored Dec 20, 2024
2 parents faa1aa2 + 3899371 commit 4a7b157
Show file tree
Hide file tree
Showing 37 changed files with 1,201 additions and 286 deletions.
66 changes: 26 additions & 40 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,73 +81,59 @@ jobs:
steps:
- uses: actions/checkout@v4

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

- uses: Swatinem/rust-cache@v2

- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
run: cargo clippy -- -D warnings

docs:
env:
SQLX_OFFLINE: true
name: Documentation
runs-on: ubuntu-latest
env:
SQLX_OFFLINE: true
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4

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

- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2

- name: Run rustdoc
env:
RUSTDOCFLAGS: -D warnings
uses: actions-rs/cargo@v1
with:
command: doc
args: --no-deps --document-private-items
- uses: dtolnay/install@cargo-docs-rs
- run: cargo doc --no-deps --document-private-items

fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

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

- uses: Swatinem/rust-cache@v2

- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check
run: cargo fmt --all --check

# This is just a curtesy check to tell whether it should be breaking changes or not
# If CI fail because of this, just bump the version
msrv:
env:
SQLX_OFFLINE: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack check --rust-version --workspace --all-targets --ignore-private
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install cargo-msrv
run: cargo install cargo-msrv --all-features
- name: Run cargo-msrv
run: cargo msrv verify --output-format json
- name: Run cargo-msrv on verification failure
if: ${{ failure() }}
run: cargo msrv find --output-format json
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All notable changes to this project will be documented in this file.

## [0.4.2] - 2024-12-20

### 🚀 Features

- Wrong Mapping finder
- Add lint filter
- *(lint)* Missing_remixer_rel
- Lint severity colors
- *(lint)* Missing_remix_rel
- *(lint)* Soundtrack_without_disambiguation
- Add listening time option on radio overdue
- *(lint)* Suspicious_remix

### ⚙️ Miscellaneous Tasks

- Release v0.4.1
- Remove actionrs

## [0.4.0] - 2024-12-11

### 🚀 Features
Expand Down
Loading

0 comments on commit 4a7b157

Please sign in to comment.