mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
Use the official setup-dart action (#1242)
This commit is contained in:
parent
84cae191bd
commit
3d39f22cbf
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
@ -30,8 +30,8 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
with: {release-channel: "${{ matrix.dart_channel }}"}
|
with: {sdk: "${{ matrix.dart_channel }}"}
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
# Set up the environment to run the sass-spec runner which is written in Ruby
|
# Set up the environment to run the sass-spec runner which is written in Ruby
|
||||||
- name: Set up sass-spec
|
- name: Set up sass-spec
|
||||||
@ -66,8 +66,8 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
with: {release-channel: "${{ matrix.dart_channel }}"}
|
with: {sdk: "${{ matrix.dart_channel }}"}
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- run: dart pub run grinder pkg-standalone-dev
|
- run: dart pub run grinder pkg-standalone-dev
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
@ -104,8 +104,8 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
with: {release-channel: "${{ matrix.dart_channel }}"}
|
with: {sdk: "${{ matrix.dart_channel }}"}
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with: {node-version: "${{ matrix.node_version }}"}
|
with: {node-version: "${{ matrix.node_version }}"}
|
||||||
@ -120,7 +120,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- name: Analyze dart
|
- name: Analyze dart
|
||||||
run: dartanalyzer --fatal-warnings --fatal-infos lib tool test
|
run: dartanalyzer --fatal-warnings --fatal-infos lib tool test
|
||||||
@ -133,7 +133,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- name: Run checks
|
- name: Run checks
|
||||||
run: dart pub run grinder sanity-check-before-release
|
run: dart pub run grinder sanity-check-before-release
|
||||||
@ -146,7 +146,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: dart pub run grinder pkg-github-release pkg-github-linux
|
run: dart pub run grinder pkg-github-release pkg-github-linux
|
||||||
@ -162,7 +162,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: dart pub run grinder pkg-github-macos
|
run: dart pub run grinder pkg-github-macos
|
||||||
@ -178,7 +178,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: dart pub run grinder pkg-github-windows
|
run: dart pub run grinder pkg-github-windows
|
||||||
@ -194,7 +194,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with: {node-version: "${{ env.DEFAULT_NODE_VERSION }}"}
|
with: {node-version: "${{ env.DEFAULT_NODE_VERSION }}"}
|
||||||
@ -211,7 +211,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with: {node-version: "${{ env.DEFAULT_NODE_VERSION }}"}
|
with: {node-version: "${{ env.DEFAULT_NODE_VERSION }}"}
|
||||||
@ -229,7 +229,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with: {node-version: "${{ env.DEFAULT_NODE_VERSION }}"}
|
with: {node-version: "${{ env.DEFAULT_NODE_VERSION }}"}
|
||||||
@ -245,7 +245,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: dart pub run grinder pkg-homebrew-update
|
run: dart pub run grinder pkg-homebrew-update
|
||||||
@ -261,7 +261,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cedx/setup-dart@v2
|
- uses: dart-lang/setup-dart@v1
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: dart pub run grinder pkg-chocolatey-deploy
|
run: dart pub run grinder pkg-chocolatey-deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user