Skip to content

Consolidate to just Amplify Canaries for Testing #171

Consolidate to just Amplify Canaries for Testing

Consolidate to just Amplify Canaries for Testing #171

name: Amplify Canaries
on

Check failure on line 2 in .github/workflows/amplify_canaries.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/amplify_canaries.yaml

Invalid workflow file

You have an error in your yaml syntax on line 2
push:
branches:
- main
pull_request:
paths:
- ".github/workflows/amplify_canaries.yaml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# Ensure an app pulling in published Amplify libraries can build properly
build:
runs-on: macos-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
channel:
- "beta"
- "stable"
flutter-version:
- "any" # latest
include:
- channel: "stable"
flutter-version: "3.10.1"
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # 3.5.3
with:
persist-credentials: false
- name: Install dependencies
uses: ./.github/composite_actions/install_dependencies
with:
channel: ${{ matrix.channel }}
flutter-version: ${{ matrix.flutter-version }}
- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_metric
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}
testType: canary
category: all
workflowName: amplify_canaries/build
framework: flutter
flutterDartChannel: ${{ matrix.channel }}
flutterVersion: $${{ matrix.flutter-version }}