Skip to content

yegor256/xcop-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This GitHub action helps you run XCOP XML linter.

Add g4s8/xcop-action@master (or use version tag instead of master) after actions/checkout@v2 action:

---
name: xcop
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master
jobs:
  build:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - uses: g4s8/xcop-action@master

It's possible to customize it specifying the location of the license (./LICENSE.txt by default) and the glob location of all files to be checked (**/*.xml by default):

- uses: g4s8/xcop-action@master
  with:
    license: MY_LICENSE.txt
    files: "src/*.xml"

About

Xcop GitHub action

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 86.5%
  • Dockerfile 13.5%