Skip to content

g4s8/xcop-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xcop-action

Xcop GitHub action

XCOP XML linter as GitHub action.

Usage

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

---
name: XCOP linter
"on":
  push:
    branches:
      - master
  pull_request:
    brranches:
      - master
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: g4s8/xcop-action@master

To customize it use license or files inputs:

  • license - location of license file (default LICENSE.txt)
  • files - glob location of all files to be checked separated by \n (default globs are: **/*.xml, **/*.xsl, **/*.xsd, **/*.xhtml )
- uses: g4s8/xcop-action@master
  with:
    license: MY_LICENSE.txt
    files: |
      **/*.xml
      **/*.xsl
      **/*.ext