Skip to content

v3.0.1 (#138)

v3.0.1 (#138) #146

Workflow file for this run

name: Check source code quality
on:
pull_request:
branches: ["main"]
paths:
- "**.dart"
- "pubspec.yaml"
- "analysis_options.yaml"
- ".github/workflows/**"
push:
branches: ["main"]
paths:
- "**.dart"
- "pubspec.yaml"
- "analysis_options.yaml"
- ".github/workflows/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Check lints
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get --no-example
- name: Verify formatting
run: dart format --set-exit-if-changed lib test
analyze:
name: Check code analysis
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get --no-example
- name: Analyze project source
run: dart analyze lib test