chore(version): Bump version #1030
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
name: aft | |
on: | |
push: | |
branches: | |
- main | |
- stable | |
- next | |
paths: | |
- "packages/aft/**/*.dart" | |
pull_request: | |
paths: | |
- "packages/aft/**/*.dart" | |
schedule: | |
- cron: "0 0 * * 0" # Every Sunday at 00:00 | |
defaults: | |
run: | |
shell: bash | |
permissions: read-all | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 3.6.0 | |
with: | |
submodules: true | |
# Needed for `git` but only ever used locally. | |
- name: Git Config | |
run: | | |
git config --global user.email "amplify-flutter@amazon.com" | |
git config --global user.name "Amplify Flutter" | |
- name: Setup Dart | |
uses: dart-lang/setup-dart@e58aeb62aef51dcc4d0ba8eada7c08092aad5314 # main | |
with: | |
sdk: stable | |
- name: Get Packages | |
working-directory: packages/aft | |
run: dart pub upgrade | |
- name: Save Repo State | |
working-directory: packages/aft | |
run: | | |
dart pub get | |
dart bin/aft.dart save-repo-state | |
- name: Run Tests | |
working-directory: packages/aft | |
run: dart test |