Repository navigation
chore(deps): update dependency oxfmt to v0.73.0 #9090
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: test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| LOG_LEVEL: debug | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-slim | |
| timeout-minutes: 10 | |
| env: | |
| # node and pnpm come from the setup action, so `mise exec` must not | |
| # install them again | |
| MISE_EXEC_AUTO_INSTALL: 'false' | |
| steps: | |
| - name: ⚙️ Setup | |
| uses: containerbase/internal-tools/setup@065c7cd31765ae2015249a42ec1e3798e462b5d4 # v5.3.1 | |
| with: | |
| save-cache: true | |
| - run: pnpm oxfmt | |
| - name: Install the workflow linters | |
| uses: jdx/mise-action@08ae2a091c038e1e05ec6f5115dc5c69d5a2a6b8 # v5.1.2 | |
| with: | |
| install_args: jactionlint shellcheck zizmor | |
| - name: Check workflow files | |
| run: mise exec -- jactionlint --color | |
| - name: Run zizmor | |
| run: mise exec -- zizmor --format github .github/ | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| preset: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| container: | |
| image: ghcr.io/renovatebot/renovate:44.164.10@sha256:a1a928e6680df73474a2408620374bfd397a38b7adbc74d4d5ffe4c7a03e3c2b | |
| # github hosted runners are running as `1001:127` (ubuntu:docker) | |
| options: -u 1001:0 --group-add 1000 --group-add 12021 --group-add 127 | |
| strategy: | |
| matrix: | |
| file: | |
| - default | |
| - renovate-config | |
| - merge-queue | |
| - .github/renovate | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| show-progress: false | |
| - name: testing ${{ matrix.file }} | |
| run: renovate-config-validator --no-global --strict ${{ matrix.file }}.json | |
| preset-success: | |
| runs-on: ubuntu-slim | |
| needs: | |
| - lint | |
| - preset | |
| timeout-minutes: 1 | |
| if: always() | |
| steps: | |
| - name: Fail for failed or cancelled presets | |
| if: | | |
| needs.preset.result == 'failure' || | |
| needs.preset.result == 'cancelled' | |
| run: exit 1 | |
| - name: Fail for failed or cancelled lint | |
| if: | | |
| needs.lint.result == 'failure' || | |
| needs.lint.result == 'cancelled' | |
| run: exit 1 |