Add codespell to circleci.
@@ -13,6 +13,15 @@ jobs:
- run: make
- run: rm -v node_exporter
+ codespell:
+ docker:
+ - image: circleci/python
+
+ steps:
+ - checkout
+ - run: sudo pip install codespell
+ - run: codespell --skip=".git,./vendor"
+
build:
machine: true
working_directory: /home/circleci/.go_workspace/src/github.com/prometheus/node_exporter
@@ -134,6 +143,10 @@ workflows:
filters:
tags:
only: /.*/
+ - codespell:
+ filters:
+ tags:
+ only: /.*/
- docker_hub_master:
requires:
- test
