chore(deps): bump the cargo-major group with 26 updates #14874
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: Format | |
| on: | |
| merge_group: | |
| types: [checks_requested] | |
| push: | |
| branches: | |
| - "**" | |
| - "!main" | |
| # Add explicit permissions with read-only access | |
| permissions: | |
| contents: read | |
| jobs: | |
| format-typescript: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "pnpm" | |
| - name: Install prettier | |
| run: pnpm install --frozen-lockfile | |
| - name: Check prettier compliance | |
| run: pnpm exec prettier --check './apps/**/*.{ts,tsx}' | |
| format-python: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.12" | |
| - name: Install black | |
| run: pip install black==25.12.0 # Keep in sync with packages/py-moose-lib/requirements-dev.txt | |
| - name: Check black compliance | |
| run: black --check . | |
| notify-slack-on-failure: | |
| needs: [format-typescript, format-python] | |
| runs-on: ubuntu-latest | |
| # Add permissions required for this job | |
| permissions: | |
| contents: read | |
| if: failure() && github.ref == 'refs/heads/main' | |
| steps: | |
| - name: Notify Slack on failure | |
| uses: 514-labs/slack-notification-action@1.0.0 | |
| with: | |
| slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }} | |
| slack-webhook-url: ${{ secrets.SLACK_GITHUB_ACTIONS_WEBHOOK_URL }} |