Skip to content

Commit

Permalink
ci: add CI job to ensure Melos compiles and runs on the lowest Dart S…
Browse files Browse the repository at this point in the history
…DK version that it supports (#249)
  • Loading branch information
Salakar committed Feb 14, 2022
1 parent 6240ac3 commit f649da9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ jobs:
fatal-infos: true
fatal-warnings: true

# This job ensures `melos` compiles and runs fine on the
# minimum Dart SDK version that it supports.
dart_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.12.0 # Update when min sdk supported version of `melos` package changes.
- name: "Run Melos"
run: ./.github/workflows/scripts/install-tools.sh

format:
runs-on: ubuntu-latest
timeout-minutes: 5
Expand Down

0 comments on commit f649da9

Please sign in to comment.