diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae2851d..4f938c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,17 +18,19 @@ jobs: - name: Install rust toolchain uses: dtolnay/rust-toolchain@stable - name: Run release-plz + id: release-plz uses: MarcoIeni/release-plz-action@v0.5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - fmt: - needs: release - runs-on: ubutun-latest - steps: - uses: fregante/setup-git-user@v2.0.1 - - run: | - make fmt + - name: install dprint + uses: taiki-e/install-action@v2.42.4 + with: + tool: dprint@0.47.0 + - name: fmt + run: | + dprint fmt git commit -am 'chore: format files' - git push + git push origin ${{ steps.release-plz.outputs.head_branch }}