Skip to content

Commit 99ed3c2

Browse files
author
Adam Hughes
committed
Add markdownlint in CI
1 parent 85a67a9 commit 99ed3c2

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

.circleci/config.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,20 @@ jobs:
9494
name: Check for Lint
9595
command: golangci-lint run ./...
9696

97+
lint_markdown:
98+
<<: *defaults
99+
docker:
100+
- image: node:11
101+
steps:
102+
- attach_workspace:
103+
at: /
104+
- run:
105+
name: Install markdownlint
106+
command: npm install -g markdownlint-cli
107+
- run:
108+
name: Check for Lint
109+
command: markdownlint -i vendor .
110+
97111
unit_test:
98112
<<: *defaults
99113
steps:
@@ -124,6 +138,9 @@ workflows:
124138
- lint_source:
125139
requires:
126140
- get_source
141+
- lint_markdown:
142+
requires:
143+
- get_source
127144
- unit_test:
128145
requires:
129146
- get_source

.markdownlint.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"default": true,
3+
"MD013": false
4+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The Singularity Image Format (SIF)
22

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

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

0 commit comments

Comments
 (0)