Skip to content

Update tests.yaml

Update tests.yaml #372

Workflow file for this run

name: Tests
on:
push:
jobs:
build:
runs-on: [self-hosted, macOS, ARM64]
steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Checkout and install Flutter
run: git clone https://github.com/flutter/flutter.git
run: git checkout tags/3.19.0

Check failure on line 17 in .github/workflows/tests.yaml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yaml (Line: 17, Col: 9): 'run' is already defined
- name: Add the Flutter path
run: echo "$GITHUB_WORKSPACE/flutter/bin" >> $GITHUB_PATH
- name: Set Flutter root
run: echo "FLUTTER_ROOT=$GITHUB_WORKSPACE/flutter" >> $GITHUB_ENV
- name: Setup flutter
run: |
flutter doctor
- name: Run tests
run: flutter test