Skip to content

Commit

Permalink
updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ygit committed Sep 14, 2023
1 parent f9356a5 commit 0936db2
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
name: 🧐 Analyze
# name: 🧐 Analyze

permissions: write-all
# 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/
# 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: macos-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:
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'
# jobs:
# analyze:
# name: Analyze
# if: github.event.pull_request.draft == false
# timeout-minutes: 30
# runs-on: macos-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:
# 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'

0 comments on commit 0936db2

Please sign in to comment.