mirror of
https://github.com/flutter/agent-plugins.git
synced 2026-09-14 16:19:33 +08:00
90636dc21d
Expected to fail on initial PR creation, not out for review yet. https://github.com/flutter/flutter/issues/183124
52 lines
1.0 KiB
YAML
52 lines
1.0 KiB
YAML
name: skills_tool
|
|
permissions: read-all
|
|
|
|
on:
|
|
# Run CI on all PRs (against any branch) and on pushes to the main branch.
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/skills_tool.yaml'
|
|
- 'tool/**'
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- '.github/workflows/skills_tool.yaml'
|
|
- 'tool/**'
|
|
schedule:
|
|
- cron: '0 0 * * 0' # weekly
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: tool
|
|
|
|
jobs:
|
|
analyze_and_test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dart-lang/setup-dart@v1
|
|
with:
|
|
sdk: stable
|
|
|
|
- run: dart pub get
|
|
|
|
- run: dart analyze --fatal-infos
|
|
|
|
- run: dart test
|
|
|
|
formatting_stable_ubuntu-latest:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dart-lang/setup-dart@v1
|
|
with:
|
|
sdk: stable
|
|
|
|
- run: dart pub get
|
|
|
|
- run: dart format --output=none --set-exit-if-changed .
|