From 4d4341db1f236c9ab561845a70226edda535c05a Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Mon, 27 Oct 2025 08:42:31 +0100 Subject: [PATCH] ci: remove code_format job from FixPR workflow --- .github/workflows/FixPR.yml | 46 ------------------------------------- 1 file changed, 46 deletions(-) diff --git a/.github/workflows/FixPR.yml b/.github/workflows/FixPR.yml index d9ac2dbdaf4..e5de0584bb6 100644 --- a/.github/workflows/FixPR.yml +++ b/.github/workflows/FixPR.yml @@ -77,49 +77,3 @@ jobs: add: Cargo.lock fuzz/Cargo.lock env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - code_format: - # Recheck/refresh code formatting - if: github.event.pull_request.merged == true ## only for PR merges - name: Update/format - runs-on: ${{ matrix.job.os }} - strategy: - fail-fast: false - matrix: - job: - - { os: ubuntu-latest , features: feat_os_unix } - steps: - - uses: actions/checkout@v5 - with: - persist-credentials: false - - name: Initialize job variables - id: vars - shell: bash - run: | - # target-specific options - # * CARGO_FEATURES_OPTION - CARGO_FEATURES_OPTION='' ; - if [ -n "${{ matrix.job.features }}" ]; then CARGO_FEATURES_OPTION='--features "${{ matrix.job.features }}"' ; fi - echo "CARGO_FEATURES_OPTION=${CARGO_FEATURES_OPTION}" >> $GITHUB_OUTPUT - - uses: dtolnay/rust-toolchain@master - with: - toolchain: stable - components: rustfmt - - uses: Swatinem/rust-cache@v2 - - name: "`cargo fmt`" - shell: bash - run: | - cargo fmt - - name: "`cargo fmt` tests" - shell: bash - run: | - # `cargo fmt` of tests - find tests -name "*.rs" -print0 | xargs -0 cargo fmt -- - - name: Commit any changes (to '${{ env.BRANCH_TARGET }}') - uses: EndBug/add-and-commit@v9 - with: - new_branch: ${{ env.BRANCH_TARGET }} - default_author: github_actions - message: "maint ~ rustfmt (`cargo fmt`)" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}