Skip to content

Bump the github-actions group with 3 updates #7

Bump the github-actions group with 3 updates

Bump the github-actions group with 3 updates #7

Workflow file for this run

name: package:jot
permissions: read-all
on:
# Run CI on pushes to the main branch, and on PRs against main.
push:
branches: [ main ]
paths:
- '.github/workflows/jot.yml'
- 'pkgs/jot/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/jot.yml'
- 'pkgs/jot/**'
schedule:
- cron: '0 0 * * 0' # weekly
defaults:
run:
working-directory: pkgs/jot
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [stable, dev]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
with:
sdk: ${{ matrix.sdk }}
- run: dart pub get
- run: dart analyze --fatal-infos
- run: dart format --output=none --set-exit-if-changed .
if: ${{ matrix.sdk == 'stable' }}
# Ensure that the front-end is up to date.
- run: dart tool/build_web.dart --verify
# Ensure that we can build the front-end.
- run: dart tool/build_web.dart
- run: dart test
# Ensure that we can build the Dart SDK docs.
- run: dart tool/create_dart_sdk.dart