Skip to content

italia/publiccode-parser-gitlab-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

GitLab CI validation of publiccode.yml files

License

Usage

This snippet can be included in GitLab CI to validate publiccode.yml files using publiccode-parser-go.

You can use it in your workflow to check if publiccode.yml in your repo is valid.

Examples

Run automatically in the "test" stage (simplest configuration)

# .gitlab-ci.yml

include:
  - https://raw.githubusercontent.com/italia/publiccode-parser-gitlab-ci/main/publiccode-validation.yml

Run in a custom stage

# .gitlab-ci.yml

include:
  - https://raw.githubusercontent.com/italia/publiccode-parser-gitlab-ci/main/publiccode-validation.yml

stages:
  - custom_stage

publiccode-parser:
  stage: custom_stage

About

GitLab CI validation of publiccode.yml files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published