mason でパッケージ作成時に yumemi_lints の lint バージョンを更新する #385
Workflow file for this run
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: Check generated code is latest | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize] | |
paths: | |
- "**.dart" | |
- "**.yaml" | |
- "**/pubspec.lock" | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
steps: | |
# https://github.com/actions/checkout | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup Application Runtime | |
uses: ./.github/actions/setup-application-runtime | |
- name: Regenerate code | |
run: melos run regenerate_code --no-select | |
- name: Check difference | |
run: | | |
git add -N . | |
git diff --name-only --exit-code |