Skip to content

contact_agentsを必須としないように変更 #15

contact_agentsを必須としないように変更

contact_agentsを必須としないように変更 #15

Workflow file for this run

name: CI
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install yamale
- name: Validate sample files
run: |
for FILE in metadata-sample.yaml metadata-sample-minimum.yaml metadata-sample-xafs.yaml; do
yamale -s schema.yaml $FILE
done