Skip to content

Commit

Permalink
Merge pull request #16 from colourdelete/patch-1
Browse files Browse the repository at this point in the history
Add GitLab CI Example
  • Loading branch information
tommy-muehle committed Nov 16, 2020
2 parents 26dd17c + 6dc567f commit 900be5b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,26 @@ jobs:
args: ./...
```

### GitLab CI

You can run go-mnd inside a GitLab CI pipeline as follows:

```
stages:
- lint
go:lint:mnd:
stage: lint
needs: []
image: golang:latest
before_script:
- go get -u github.com/tommy-muehle/go-mnd/cmd/mnd
- go mod tidy
- go mod vendor
script:
- go vet -vettool $(which mnd) ./...
```

### Homebrew

To install with [Homebrew](https://brew.sh/), run:
Expand Down

0 comments on commit 900be5b

Please sign in to comment.