chore: Fix dart options imports #10
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: | |
pull_request: | |
paths: | |
- ".github/workflows/dart.yaml" | |
- "dart/**" | |
# Prevent duplicate runs due to Graphite | |
# https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice | |
concurrency: | |
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7 | |
with: | |
submodules: true | |
- name: Setup Dart | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 # main | |
- name: Get Packages | |
working-directory: dart | |
run: dart pub get | |
- name: Test | |
working-directory: dart | |
run: dart test --fail-fast |