From 2e502edcea3a536ee28089a72ec362a3f65e168b Mon Sep 17 00:00:00 2001 From: SlayerOrnstein <6075693+SlayerOrnstein@users.noreply.github.com> Date: Sun, 28 Jan 2024 09:23:18 -0500 Subject: [PATCH] ci: added some extra steps for validations --- .github/cspell.json | 25 +++++++++++++++++++++++++ .github/workflows/main.yaml | 14 +++++++++----- 2 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 .github/cspell.json diff --git a/.github/cspell.json b/.github/cspell.json new file mode 100644 index 0000000..bfd7b6e --- /dev/null +++ b/.github/cspell.json @@ -0,0 +1,25 @@ +{ + "version": "0.2", + "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", + "dictionaries": [ + "vgv_allowed", + "vgv_forbidden" + ], + "dictionaryDefinitions": [ + { + "name": "vgv_allowed", + "path": "https://raw.githubusercontent.com/verygoodopensource/very_good_dictionaries/main/allowed.txt", + "description": "Allowed VGV Spellings" + }, + { + "name": "vgv_forbidden", + "path": "https://raw.githubusercontent.com/verygoodopensource/very_good_dictionaries/main/forbidden.txt", + "description": "Forbidden VGV Spellings" + } + ], + "useGitignore": true, + "words": [ + "warframestat_client", + "Warframe" + ] +} \ No newline at end of file diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 18f011d..977bd7e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,7 +1,7 @@ name: ci concurrency: - group: $-$ + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true on: @@ -16,9 +16,13 @@ jobs: semantic_pull_request: uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1 - test: + spell-check: + uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.yml@v1 + with: + includes: "**/*.md" + modified_files_only: false + + build: uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1 with: - setup: ./test/scripts/update_fixtures.sh - coverage_excludes: "*.g.dart" - min_coverage: 40 + min_coverage: 25