mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-24 13:46:36 +00:00
Merge pull request #896 from mjtrangoni/add-codespell
codespell: add GH Action for checking spelling issues
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -60,11 +60,24 @@ jobs:
|
|||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
run: golangci-lint run --timeout=5m -c .golangci.yaml
|
run: golangci-lint run --timeout=5m -c .golangci.yaml
|
||||||
|
|
||||||
|
codespell:
|
||||||
|
name: Check for spelling errors
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: codespell-project/actions-codespell@master
|
||||||
|
with:
|
||||||
|
check_filenames: true
|
||||||
|
# When using this Action in other repos, the --skip option below can be removed
|
||||||
|
skip: ./.git
|
||||||
|
ignore_words_list: calle
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
needs:
|
needs:
|
||||||
- test
|
- test
|
||||||
- lint
|
- lint
|
||||||
|
- codespell
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user