Skip to content

#2641. Add tests for multiple declarations named _ #1324

#2641. Add tests for multiple declarations named _

#2641. Add tests for multiple declarations named _ #1324

Workflow file for this run

# 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@0ad4b8fadaa221de15dcec353f45205ec38ea70b
with:
fetch-depth: 2
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
with:
repository: dart-lang/sdk
path: sdk
- name: Set up JDK 11
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
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 }}