Fixes #2172. Fix error expectations in static_analysis_extension_types_A02_t02.dart #776
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
# This workflow will run the Dart language specparser on the modified files in a PR | |
name: Spec Parser | |
on: | |
pull_request: | |
branches: [ "master" ] | |
paths: | |
- '**.dart' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
with: | |
fetch-depth: 2 | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
with: | |
repository: dart-lang/sdk | |
path: sdk | |
- name: Set up JDK 11 | |
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 | |
with: | |
java-version: '11' | |
distribution: temurin | |
- name: Set up Antlr4 | |
run: sudo apt-get install -y antlr4 | |
- name: Build specparser | |
run: make | |
working-directory: sdk/tools/spec_parser | |
- name: Check modified files | |
run: sdk/tools/spec_parse.py `gh pr view ${{ github.event.number }} --json files -q '.files[].path' | grep '.dart$' | xargs ls -d 2>/dev/null` | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |