diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 012f9313..790ef8ed 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,15 +17,19 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + with: + components: clippy - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose - - uses: actions-rs/cargo@v1 + - uses: mbrobbel/rustfmt-check@master with: - command: fmt args: --all -- --check - - uses: actions-rs/clippy-check@v1 - with: + mode: review token: ${{ secrets.GITHUB_TOKEN }} - args: -- -D warnings + - uses: giraffate/clippy-action@v1 + with: + clippy-flags: -- -D warnings + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 052e8eae..43d581f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Update GitHub CI action to use latest version of the checkout action. +- Update GitHub CI action to stop using deprecated actions-rs actions. ## [0.4.2] - 2024-02-28