Skip to content

[TEST] implement GitHub actions #2

[TEST] implement GitHub actions

[TEST] implement GitHub actions #2

Workflow file for this run

name: 🧐 Analyze
permissions: write-all
on:
push:
branches:
- main
- develop
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
- develop
paths-ignore:
- '**.md'
- 'doc/**'
- '.git/'
- '.vscode/'
jobs:
analyze:
name: Analyze
if: github.event.pull_request.draft == false
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repository
uses: actions/checkout@v3
- name: ⚙️ Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: ⚠️ℹ️ Run Dart analysis for hmssdk_flutter package
uses: zgosalvez/[email protected]
with:
working-directory: "${{github.workspace}}/packages/hmssdk_flutter"
- name: ⚠️ℹ️ Run Dart analysis for hms_room_kit package
uses: zgosalvez/[email protected]
with:

Check failure on line 45 in .github/workflows/analyze.yml

View workflow run for this annotation

GitHub Actions / 🧐 Analyze

Invalid workflow file

The workflow is not valid. .github/workflows/analyze.yml (Line: 45, Col: 14): Unexpected value '' .github/workflows/analyze.yml (Line: 46, Col: 9): Unexpected value 'working-directory'
working-directory: "${{github.workspace}}/packages/hms_room_kit"
- name: 📈 Check metrics
uses: dart-code-checker/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pull_request_comment: true
check_unused_files: true
folders: 'packages/hmssdk_flutter, packages/hms_room_kit'