From 74b9bef15978316bdc9e4acaf12f89e5d133d391 Mon Sep 17 00:00:00 2001 From: Paul Kepinski Date: Mon, 4 Nov 2024 02:13:25 +0100 Subject: [PATCH] Run CI when modifying config file (#13) --- .github/ci.yml | 29 ----------------------------- .github/workflows/ci.yml | 7 +++---- 2 files changed, 3 insertions(+), 33 deletions(-) delete mode 100644 .github/ci.yml diff --git a/.github/ci.yml b/.github/ci.yml deleted file mode 100644 index 1fc7304..0000000 --- a/.github/ci.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: CI - -on: - push: - branches: - - main - pull_request: - branches: - - main - workflow_dispatch: - -jobs: - analyze: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: subosito/flutter-action@v2 - - uses: bluefireteam/melos-action@v3 - - uses: invertase/github-action-dart-analyzer@v3 - with: - fatal-infos: true - - format: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: subosito/flutter-action@v2 - - uses: bluefireteam/melos-action@v3 - - run: melos run format-check diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c062040..5b1eab0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,16 +4,15 @@ on: push: branches: - main + paths: + - '.github/workflows/ci.yml' pull_request: branches: - main workflow_dispatch: -env: - FLUTTER_VERSION: 3.24.3 - jobs: - analyze-latest: + analyze: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4