Skip to content

Commit

Permalink
ci: Correctly name Dart job as current dependencies and not upgraded
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Dec 14, 2024
1 parent d3e5c72 commit 2c1776d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
dependencies:
- upgrade
- current
- downgrade
steps:
- name: Checkout
Expand All @@ -42,7 +42,7 @@ jobs:
run: ./tool/setup.sh

- name: Check up-to-date pubspec.lock
if: ${{ matrix.dependencies == 'upgrade' }}
if: ${{ matrix.dependencies == 'current' }}
run: git --no-pager diff --exit-code
- name: Downgrade dependencies
if: ${{ matrix.dependencies == 'downgrade' }}
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
fi
- name: Setup Codecov
if: ${{ matrix.dependencies == 'upgrade' }}
if: ${{ matrix.dependencies == 'current' }}
run: |
cd /tmp
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import
Expand All @@ -86,7 +86,7 @@ jobs:
mkdir /tmp/bin
mv codecov /tmp/bin
- name: Upload coverage to Codecov
if: ${{ matrix.dependencies == 'upgrade' }}
if: ${{ matrix.dependencies == 'current' }}
run: |
export PATH="$PATH:/tmp/bin"
melos exec --file-exists="coverage/lcov.info" --concurrency=1 -- "
Expand Down

0 comments on commit 2c1776d

Please sign in to comment.