diff --git a/.github/linters/.codespellrc b/.github/linters/.codespellrc new file mode 100644 index 00000000..5f3e9d96 --- /dev/null +++ b/.github/linters/.codespellrc @@ -0,0 +1,2 @@ +[codespell] +skip = ./.github/linters diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 3a07190e..9ea28641 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -25,7 +25,7 @@ jobs: persist-credentials: false - name: Lint code base - uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2 + uses: super-linter/super-linter@12562e48d7059cf666c43a4ecb0d3b5a2b31bd9e # v8.4.0 env: GITHUB_TOKEN: ${{ github.token }} VALIDATE_BIOME_FORMAT: false diff --git a/README.md b/README.md index 58f55623..aa681cb9 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ to streamline continuous integration for PowerShell projects: The action's behavior is controlled by a **layered configuration** system, which merges settings from multiple sources in a specific order. The highest-priority settings override lower-priority ones. The order of precedence is as follows: -| Setting | Default | Test Suite | Direct Inputs | Result | -|------------|---------|------------|---------------|--------| -| `SettingA` | `X` | | | `X` | -| `SettingB` | `X` | `Y` | | `Y` | -| `SettingC` | `X` | `Y` | `Z` | `Z` | +| Setting | Default | Test Suite | Direct Inputs | Result | +|-------------|---------|------------|---------------|--------| +| `Setting_A` | `X` | | | `X` | +| `Setting_B` | `X` | `Y` | | `Y` | +| `Setting_C` | `X` | `Y` | `Z` | `Z` | This **last-write-wins** strategy means you can set global defaults while retaining the flexibility to override them at the action level. diff --git a/src/exec.ps1 b/src/exec.ps1 index 5a2599b5..ab0de546 100644 --- a/src/exec.ps1 +++ b/src/exec.ps1 @@ -54,7 +54,7 @@ Get-Module | Format-Table -AutoSize | Out-String '::endgroup::' $configuration = New-PesterConfiguration -Hashtable $configuration -$PSStyle.OutputRendering = 'Host' # Ensure propper XML rendering +$PSStyle.OutputRendering = 'Host' # Ensure proper XML rendering $testResults = Invoke-Pester -Configuration $configuration $PSStyle.OutputRendering = 'Ansi'