feat:yoyo-getfastmirror(dart)

yoyo-getfastmirror的dart版本,易扩展
This commit is contained in:
Riceneeder
2023-01-30 13:53:05 +08:00
parent 887b5b967f
commit a336f92cbf
26 changed files with 864 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
version: 2
enable-beta-ecosystems: true
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "pub"
directory: "/"
schedule:
interval: "daily"

View File

@@ -0,0 +1,47 @@
name: yoyo_get_fast_mirror
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- ".github/workflows/yoyo_get_fast_mirror.yaml"
- "lib/**"
- "test/**"
- "pubspec.yaml"
push:
branches:
- main
paths:
- ".github/workflows/yoyo_get_fast_mirror.yaml"
- "lib/**"
- "test/**"
- "pubspec.yaml"
jobs:
semantic-pull-request:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
verify-version:
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v2
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: "stable"
- name: 📦 Install Dependencies
run: |
dart pub get
- name: 🔎 Verify version
run: dart run test --run-skipped -t version-verify