Skip to content

Commit

Permalink
Use the official setup-dart action (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Mar 2, 2021
1 parent 84cae19 commit 3d39f22
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
with: {release-channel: "${{ matrix.dart_channel }}"}
- uses: dart-lang/setup-dart@v1
with: {sdk: "${{ matrix.dart_channel }}"}
- run: dart pub get
# Set up the environment to run the sass-spec runner which is written in Ruby
- name: Set up sass-spec
Expand Down Expand Up @@ -66,8 +66,8 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
with: {release-channel: "${{ matrix.dart_channel }}"}
- uses: dart-lang/setup-dart@v1
with: {sdk: "${{ matrix.dart_channel }}"}
- run: dart pub get
- run: dart pub run grinder pkg-standalone-dev
- name: Run tests
Expand Down Expand Up @@ -104,8 +104,8 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
with: {release-channel: "${{ matrix.dart_channel }}"}
- uses: dart-lang/setup-dart@v1
with: {sdk: "${{ matrix.dart_channel }}"}
- run: dart pub get
- uses: actions/setup-node@v2
with: {node-version: "${{ matrix.node_version }}"}
Expand All @@ -120,7 +120,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- name: Analyze dart
run: dartanalyzer --fatal-warnings --fatal-infos lib tool test
Expand All @@ -133,7 +133,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- name: Run checks
run: dart pub run grinder sanity-check-before-release
Expand All @@ -146,7 +146,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- name: Deploy
run: dart pub run grinder pkg-github-release pkg-github-linux
Expand All @@ -162,7 +162,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- name: Deploy
run: dart pub run grinder pkg-github-macos
Expand All @@ -178,7 +178,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- name: Deploy
run: dart pub run grinder pkg-github-windows
Expand All @@ -194,7 +194,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- uses: actions/setup-node@v2
with: {node-version: "${{ env.DEFAULT_NODE_VERSION }}"}
Expand All @@ -211,7 +211,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- uses: actions/setup-node@v2
with: {node-version: "${{ env.DEFAULT_NODE_VERSION }}"}
Expand All @@ -229,7 +229,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- uses: actions/setup-node@v2
with: {node-version: "${{ env.DEFAULT_NODE_VERSION }}"}
Expand All @@ -245,7 +245,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- name: Deploy
run: dart pub run grinder pkg-homebrew-update
Expand All @@ -261,7 +261,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- name: Deploy
run: dart pub run grinder pkg-chocolatey-deploy
Expand Down

0 comments on commit 3d39f22

Please sign in to comment.