test(CI-dev): GEMC and gcard versioning #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
tags: [ '*' ] | |
workflow_dispatch: | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Bpolitycki/[email protected] | |
- name: json | |
run: find . -name '*.json' -printf 'import json ; print(json.load(open("%p")))\n' | xargs -0 python3 -c | |
- name: yaml | |
run: find . -name '*.yaml' -printf 'import yaml ; print(yaml.unsafe_load("".join(open("%p").readlines())))\n' | xargs -0 python3 -c | |
- name: xml | |
run: find . -name '*.gcard' | xargs xmllint |