Bump dart-lang/setup-dart from 1.6.5 to 1.7.0 in the github-actions group #377
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: Dart | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: "0 0 * * 0" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sdk: [3.1, dev] | |
steps: | |
# These are the latest versions of the github actions; dependabot will | |
# send PRs to keep these up-to-date. | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | |
with: | |
sdk: ${{ matrix.sdk }} | |
- run: dart pub get | |
id: install | |
- run: dart format --output=none --set-exit-if-changed . | |
if: matrix.sdk == 'dev' && steps.install.outcome == 'success' | |
- run: dart analyze --fatal-infos | |
if: matrix.sdk == 'dev' && steps.install.outcome == 'success' | |
- run: dart test | |
if: matrix.sdk != 'dev' && steps.install.outcome == 'success' | |
- run: dart pub global activate coverage | |
if: matrix.sdk == 'dev' && steps.install.outcome == 'success' | |
id: install_pkg_coverage | |
- run: dart pub global run coverage:test_with_coverage | |
if: matrix.sdk == 'dev' && steps.install_pkg_coverage.outcome == 'success' | |
id: test_with_coverage | |
- uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 | |
if: matrix.sdk == 'dev' && steps.test_with_coverage.outcome == 'success' | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |