fix: ignore comments in idiomatic version files #13842
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: autofix.ci | |
| on: | |
| workflow_call: | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| MISE_TRUSTED_CONFIG_PATHS: ${{ github.workspace }} | |
| MISE_EXPERIMENTAL: 1 | |
| MISE_LOCKFILE: 1 | |
| RUST_BACKTRACE: 1 | |
| NPM_CONFIG_FUND: false | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | |
| autofix: | |
| if: github.actor != 'renovate[bot]' && github.actor != 'mend[bot]' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2 | |
| with: | |
| shared-key: build | |
| save-if: false | |
| - run: | | |
| cargo build --all-features | |
| echo "$PWD/target/debug" >> "$GITHUB_PATH" | |
| - uses: ./.github/actions/mise-tools | |
| - run: mise x -- bun i | |
| - run: mise run render | |
| - run: mise run lint-fix | |
| - run: mise --cd crates/vfox run lint-fix | |
| - uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # v1.3.2 | |
| # windows: | |
| # runs-on: windows-latest | |
| # timeout-minutes: 30 | |
| # steps: | |
| # - run: git config --global core.autocrlf false | |
| # - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| # - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2 | |
| # with: | |
| # shared-key: autofix | |
| # - run: | | |
| # cargo build | |
| # Add-Content $env:GITHUB_PATH "$env:GITHUB_WORKSPACE\target\debug" | |
| # shell: pwsh | |
| # - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 | |
| # with: | |
| # key: ${{ runner.os }}-${{ runner.arch }}-mise-tools-${{ hashFiles('mise.lock') }} | |
| # path: | | |
| # ~/.local/share/mise | |
| # ~/.cache/mise | |
| # - run: mise install | |
| # - run: mise x -- npm i | |
| # #- run: mise run render | |
| # - run: mise run lint-fix | |
| # - run: mise --cd crates/vfox run lint-fix | |
| # - uses: autofix-ci/action@2891949f3779a1cafafae1523058501de3d4e944 # v1.3.1 |