diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c56a25cf8..873924c29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,11 +46,12 @@ jobs: - name: Check License Header uses: apache/skywalking-eyes/header@v0.6.0 - - name: Install cargo-sort - run: make install-cargo-sort - - name: Install taplo-cli - run: make install-taplo-cli + uses: taiki-e/install-action@v2 + with: + tool: taplo-cli@0.9.3 + - name: Check toml format + run: make check-toml - name: Cargo format run: make check-fmt @@ -61,11 +62,19 @@ jobs: - name: Cargo clippy run: make check-clippy + - name: Install cargo-sort + uses: taiki-e/install-action@v2 + with: + tool: cargo-sort@1.0.9 - name: Cargo sort - run: make cargo-sort + run: cargo sort -c -w + - name: Install cargo-machete + uses: taiki-e/install-action@v2 + with: + tool: cargo-machete - name: Cargo Machete - run: make cargo-machete + run: cargo machete build: runs-on: ${{ matrix.os }} diff --git a/Makefile b/Makefile index 4ecc9bd88..fc8a52e5f 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ cargo-machete: install-cargo-machete cargo machete install-taplo-cli: - cargo install taplo-cli@0.9.0 + cargo install taplo-cli@0.9.3 fix-toml: install-taplo-cli taplo fmt