Skip to content

Commit

Permalink
Add markdownlint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Hughes committed Apr 10, 2019
1 parent 85a67a9 commit 99ed3c2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,20 @@ jobs:
name: Check for Lint
command: golangci-lint run ./...

lint_markdown:
<<: *defaults
docker:
- image: node:11
steps:
- attach_workspace:
at: /
- run:
name: Install markdownlint
command: npm install -g markdownlint-cli
- run:
name: Check for Lint
command: markdownlint -i vendor .

unit_test:
<<: *defaults
steps:
Expand Down Expand Up @@ -124,6 +138,9 @@ workflows:
- lint_source:
requires:
- get_source
- lint_markdown:
requires:
- get_source
- unit_test:
requires:
- get_source
4 changes: 4 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"default": true,
"MD013": false
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The Singularity Image Format (SIF)

[![GoDoc](https://godoc.org/github.com/sylabs/sif?status.svg)](https://godoc.org/github.com/sylabs/sif)
<a href="https://circleci.com/gh/sylabs/sif"><img src="https://circleci.com/gh/sylabs/sif.svg?style=shield&circle-token=7e762a71efecb4da6cd6981e90cf4cc9c5e4291e"/></a>
[![Build Status](https://circleci.com/gh/sylabs/sif.svg?style=shield)](https://circleci.com/gh/sylabs/workflows/sif)
[![Go Report Card](https://goreportcard.com/badge/github.com/sylabs/sif)](https://goreportcard.com/report/github.com/sylabs/sif)

SIF is an open source implementation of the Singularity Container Image Format
Expand Down

0 comments on commit 99ed3c2

Please sign in to comment.