From fa00283a6d73af7449e9d8e8f8e59abb9162f070 Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Sat, 7 May 2022 16:31:38 -0500 Subject: [PATCH] revert main and add spell check as a different flow --- .github/workflows/main.yaml | 21 +++++++-------------- .github/workflows/spell_check.yaml | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/spell_check.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7e51cd10..48ad112c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -8,17 +8,10 @@ on: [pull_request, push] jobs: build: - name: Continuous Integration - runs-on: ubuntu-latest - steps: - - uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1 - with: - flutter_channel: stable - flutter_version: 2.10.5 - coverage_excludes: "lib/gen/*.dart" - test_optimization: false - - name: Check spelling - uses: zwaldowski/cspell-action@v1 - with: - paths: "**/*.{md,html}" - config: .vscode/cspell.json + uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1 + with: + flutter_channel: stable + flutter_version: 2.10.5 + coverage_excludes: "lib/gen/*.dart" + test_optimization: false + diff --git a/.github/workflows/spell_check.yaml b/.github/workflows/spell_check.yaml new file mode 100644 index 00000000..42771261 --- /dev/null +++ b/.github/workflows/spell_check.yaml @@ -0,0 +1,18 @@ +name: spell_check + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +on: [pull_request, push] + +jobs: + build: + name: Continuous Integration + runs-on: ubuntu-latest + steps: + - name: Check spelling + uses: zwaldowski/cspell-action@v1 + with: + paths: "**/*.{md,html}" + config: .vscode/cspell.json \ No newline at end of file