Skip to content

Bump actions/checkout from 4.1.1 to 4.1.2 (#182) #320

Bump actions/checkout from 4.1.1 to 4.1.2 (#182)

Bump actions/checkout from 4.1.1 to 4.1.2 (#182) #320

Workflow file for this run

name: validate
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Run weekly
schedule:
- cron: "0 0 * * 0"
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [3.1, stable, beta]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
with:
sdk: ${{ matrix.sdk }}
- run: dart pub get
- run: dart format --output=none --set-exit-if-changed .
- run: dart analyze --fatal-infos
- run: dart tool/validate_lib.dart
- run: dart tool/gen_docs.dart --verify