Update dependency flex_color_scheme to v8 (#1365) #2635
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: Flutter | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches-ignore: | |
| - release/beta | |
| - release/master | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit_test: | |
| name: Unit test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: actions/dependency-review-action@4081bf99e2866ebe428fc0477b69eb4fcda7220a # v4.4.0 | |
| if: github.base_ref | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # v2.16.0 | |
| with: | |
| cache: true | |
| - run: dart format --set-exit-if-changed --output none . | |
| - name: Run chromedriver | |
| run: | | |
| set -e | |
| chromedriver --port=4444 & | |
| echo CHROMEDRIVER_PORT_4444=yes >$GITHUB_ENV | |
| - run: ./tool/test.sh --coverage | |
| - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
| if: failure() | |
| with: | |
| name: failures | |
| path: "**/failures/" | |
| - uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 | |
| with: | |
| fail_ci_if_error: true | |
| token: ${{ secrets.CODECOV_TOKEN }} |