Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group #463
Workflow file for this run
This file contains 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
# Run a smoke test against package:flutter_markdown. | |
name: flutter_markdown | |
on: | |
schedule: | |
# “At 00:00 (UTC) on Sunday.” | |
- cron: '0 0 * * 0' | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
permissions: read-all | |
jobs: | |
smoke-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: clone dart-lang/markdown | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 | |
with: | |
repository: dart-lang/markdown | |
path: markdown | |
- name: clone flutter/packages | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 | |
with: | |
repository: flutter/packages | |
path: flutter_packages | |
# Install the Flutter SDK using the subosito/flutter-action GitHub action. | |
- name: install the flutter sdk | |
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 | |
with: | |
channel: 'beta' | |
- name: flutter --version | |
run: flutter --version | |
- name: create pubspec_overrides.yaml | |
working-directory: flutter_packages/packages/flutter_markdown | |
run: | | |
echo "dependency_overrides:" > pubspec_overrides.yaml | |
echo " markdown:" >> pubspec_overrides.yaml | |
echo " path: ../../../markdown" >> pubspec_overrides.yaml | |
- name: flutter pub get | |
working-directory: flutter_packages/packages/flutter_markdown | |
run: flutter pub get | |
- name: flutter analyze package:flutter_markdown | |
working-directory: flutter_packages/packages/flutter_markdown | |
run: flutter analyze | |
- name: flutter test package:flutter_markdown | |
working-directory: flutter_packages/packages/flutter_markdown | |
run: flutter test |