Skip to content

Enable strict analysis options and resolve type warnings #29

Enable strict analysis options and resolve type warnings

Enable strict analysis options and resolve type warnings #29

Workflow file for this run

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 .