Update links #1524
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: Check code-generation | |
on: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
push: | |
branches: | |
- master | |
- dev | |
jobs: | |
check_generation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 2 | |
- uses: subosito/[email protected] | |
with: | |
channel: master | |
- name: Add pub cache bin to PATH | |
run: echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
- name: Add pub cache to PATH | |
run: echo "PUB_CACHE="$HOME/.pub-cache"" >> $GITHUB_ENV | |
- name: Install dependencies | |
run: flutter pub get | |
- run: flutter pub get | |
working-directory: packages/riverpod_lint_flutter_test | |
- run: ./scripts/generate.sh | |
- name: check there are no uncommitted changes | |
run: git diff --exit-code |