mirror of
https://github.com/krahets/hello-algo.git
synced 2026-11-26 05:33:40 +08:00
ci: update checkout and selected language setup Actions (#1848)
Co-authored-by: krahets <krahets@163.com>
This commit is contained in:
4
.github/workflows/dart.yml
vendored
4
.github/workflows/dart.yml
vendored
@@ -6,11 +6,13 @@ on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- ".github/workflows/dart.yml"
|
||||
- "codes/dart/**/*.dart"
|
||||
- "en/codes/dart/**/*.dart"
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- ".github/workflows/dart.yml"
|
||||
- "codes/dart/**/*.dart"
|
||||
- "en/codes/dart/**/*.dart"
|
||||
workflow_dispatch:
|
||||
@@ -28,7 +30,7 @@ jobs:
|
||||
dart-sdk: [stable]
|
||||
code-dir: ["codes/dart", "en/codes/dart"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Set up Dart ${{ matrix.dart-sdk }}
|
||||
uses: dart-lang/setup-dart@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user