Add a Changes object to the PullRequestEvent object so we can see what changed in edited PR events #389
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 Checks | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
# Test with at least the declared minimum Dart version | |
sdk: [2.18.7, stable] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: ${{ matrix.sdk }} | |
- name: Install dependencies | |
run: dart pub get | |
- name: Dart Analyzer | |
run: dart analyze | |
- name: Check Dart Format | |
if: ${{ matrix.sdk == 'stable' }} | |
run: dart format --set-exit-if-changed -onone . | |
- name: Unit tests | |
run: dart test | |
- name: Check if Publishable | |
run: dart pub publish --dry-run |