Skip to content

Commit

Permalink
CI: add a job for validating sh, MD, and YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
uint committed Jun 16, 2021
1 parent 4258c1c commit 5d305fc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ workflows:
- contract_reflect
- contract_staking
- fmt
- fmt_extra
- clippy
- benchmarking:
requires:
Expand Down Expand Up @@ -675,6 +676,24 @@ jobs:
- target/debug/deps
key: cargocache-v2-fmt-rust:1.51.0-{{ checksum "Cargo.lock" }}

fmt_extra:
docker:
- image: node:16.3.0-buster
steps:
- checkout
- run:
name: Install shfmt
command: curl -sS https://webinstall.dev/shfmt | bash
- run:
name: Validate Markdown files
command: devtools/format_md.sh -c
- run:
name: Validate shell scripts
command: PATH="/root/.local/bin:$PATH" devtools/format_sh.sh -c
- run:
name: Validate YAML files
command: devtools/format_yml.sh -c

clippy:
docker:
# In this job we use the latest Rust stable in order to check against the
Expand Down

0 comments on commit 5d305fc

Please sign in to comment.