[FEATURE][BUG]: Fixes and improvements when using with follow_the_leader package #27
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Validation | |
on: | |
pull_request: | |
jobs: | |
test_goldens: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- uses: actions/checkout@v3 | |
# Setup Flutter environment | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
# Download all the packages that the app uses | |
- run: flutter pub get | |
# Run all tests | |
- run: flutter test test_goldens | |
build_website: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./doc/website | |
steps: | |
# Checkout the repository | |
- uses: actions/checkout@v3 | |
# Setup a Dart environment | |
- uses: dart-lang/setup-dart@v1 | |
# Download all the packages that the app uses | |
- run: dart pub get | |
# Build the static site. | |
- run: dart run bin/main.dart |