chore(deps): update reviewdog/action-actionlint action to v1.60.0 #468
This file contains 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: 'Checks' | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: checks-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
changes: | |
uses: ./.github/workflows/wc-changes.yml | |
action: | |
runs-on: ubuntu-24.04 | |
needs: changes | |
if: needs.changes.outputs.action == 'true' | |
steps: | |
# https://github.com/marketplace/actions/checkout | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
# https://github.com/marketplace/actions/create-github-app-token | |
- name: Create GitHub App Token | |
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 | |
id: app-token | |
with: | |
app-id: ${{ vars.BOT_APP_ID }} | |
private-key: ${{ secrets.BOT_PRIVATE_KEY }} | |
# https://github.com/marketplace/actions/actionlint-with-reviewdog | |
- uses: reviewdog/action-actionlint@053c5cf55eed0ced1367cdc5e658df41db3a0cce # v1.59.0 | |
with: | |
github_token: ${{ steps.app-token.outputs.token }} | |
fail_on_error: true | |
filter_mode: nofilter | |
level: error | |
reporter: github-pr-review | |
cache-deps: | |
runs-on: ubuntu-24.04 | |
needs: changes | |
if: needs.changes.outputs.dependencies == 'true' | |
timeout-minutes: 10 | |
steps: | |
# https://github.com/marketplace/actions/checkout | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
# https://github.com/marketplace/actions/mise-action | |
- name: mise action | |
uses: jdx/mise-action@63a673876c7072c1d6ecb2049c0d572976c83b22 # v2.1.7 | |
- name: setup pub | |
uses: ./.github/actions/setup-pub | |
analyze: | |
runs-on: ubuntu-24.04 | |
needs: | |
- changes | |
- cache-deps | |
if: needs.changes.outputs.analyze == 'true' | |
timeout-minutes: 10 | |
steps: | |
# https://github.com/marketplace/actions/checkout | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
# https://github.com/marketplace/actions/mise-action | |
- name: mise action | |
uses: jdx/mise-action@63a673876c7072c1d6ecb2049c0d572976c83b22 # v2.1.7 | |
- name: setup pub | |
uses: ./.github/actions/setup-pub | |
- name: Run analyze | |
run: melos analyze | |
test: | |
runs-on: ubuntu-24.04 | |
needs: | |
- changes | |
- cache-deps | |
if: needs.changes.outputs.test == 'true' | |
timeout-minutes: 10 | |
steps: | |
# https://github.com/marketplace/actions/checkout | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
# https://github.com/marketplace/actions/mise-action | |
- name: mise action | |
uses: jdx/mise-action@63a673876c7072c1d6ecb2049c0d572976c83b22 # v2.1.7 | |
- name: setup pub | |
uses: ./.github/actions/setup-pub | |
- name: Setup very_good_cli | |
run: dart pub global activate very_good_cli | |
- name: Run test | |
run: melos run ci:test --no-select | |
status-check: | |
runs-on: ubuntu-24.04 | |
needs: | |
- action | |
- analyze | |
- test | |
permissions: { } | |
if: failure() | |
steps: | |
- run: exit 1 |