ci

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RuleUseCI = api.Rule{
	Slug: "ci/use",
	Name: "Project uses Continuous Integration (CI)",
	Details: fmt.Sprintf(`This rule checks if your project is using Continuous Integration (CI).
To learn more about what CI is, does and entails, see the description of category %s

Implementing CI requires picking a CI provider that will run the automated builds and tests. 
There are many CI providers available and you will have to make your own decision on which fits you best,
but %s currently recognises four CI providers, namely:
- [Azure DevOps Pipelines](https://docs.microsoft.com/en-us/azure/devops/pipelines/?view=azure-devops)
- [GitHub Actions](https://docs.github.com/en/actions)
- [Gitlab CI](https://docs.gitlab.com/ee/ci/)
- [Travis CI](https://docs.travis-ci.com/)

Follow your CI provider's respective 'Getting Started' guide and set your project up with a pipeline to build, test and lint your project.`,
		"`ci`", "`mllint`"),
	Weight: 1,
}

Functions

func NewLinter

func NewLinter() api.Linter

Types

type CILinter

type CILinter struct{}

func (*CILinter) LintProject

func (l *CILinter) LintProject(project api.Project) (api.Report, error)

func (*CILinter) Name

func (l *CILinter) Name() string

func (*CILinter) Rules

func (l *CILinter) Rules() []*api.Rule

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL