Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix dependency downgrade patch including pubspec.lock #2630

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
- name: Setup
run: ./tool/setup.sh

- name: Check up-to-date pubspec.lock
if: ${{ matrix.dependencies == 'upgrade' }}
run: git --no-pager diff --exit-code
- name: Downgrade dependencies
if: ${{ matrix.dependencies == 'downgrade' }}
run: |
git apply .github/workflows/dependency_overrides.patch
git add .
melos exec dart pub downgrade
- name: Check up-to-date pubspec.lock
run: git --no-pager diff --exit-code
- name: Check formatting
run: melos run format:check
- name: Lint code
Expand Down
Loading