From 9c54f6fb531c5c95ee7d2ddb924a0903c99da5d8 Mon Sep 17 00:00:00 2001 From: alekoe Date: Tue, 9 Jul 2024 17:19:22 +0200 Subject: [PATCH 1/7] Create main.yml --- schemas/.github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 schemas/.github/workflows/main.yml diff --git a/schemas/.github/workflows/main.yml b/schemas/.github/workflows/main.yml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/schemas/.github/workflows/main.yml @@ -0,0 +1 @@ + From 26184ea3ef9fe60a6dd13f970d77ee40d62ac91f Mon Sep 17 00:00:00 2001 From: alekoe Date: Tue, 9 Jul 2024 17:19:50 +0200 Subject: [PATCH 2/7] Update main.yml --- schemas/.github/workflows/main.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/schemas/.github/workflows/main.yml b/schemas/.github/workflows/main.yml index 8b13789..269634a 100644 --- a/schemas/.github/workflows/main.yml +++ b/schemas/.github/workflows/main.yml @@ -1 +1,24 @@ - +name: CI +on: + push: + pull_request: + workflow_dispatch: + schedule: + - cron: "23 0 12 * *" +jobs: + build: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install fastjsonschema + - name: Validate tools' JSON + run: | + cd -- schemas/ + ./validate-all-tools.py -s ./spec-v1.schema.json -s ./spec-v2.schema.json -t ../tools From d962aedbd7c5a7dbc0511f193dc8a67f6f15fc1b Mon Sep 17 00:00:00 2001 From: alekoe Date: Tue, 9 Jul 2024 17:22:20 +0200 Subject: [PATCH 3/7] Create main.yml --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..dfaf6ab --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: CI +on: + push: + pull_request: + workflow_dispatch: + schedule: + - cron: "23 0 12 * *" +jobs: + build: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install fastjsonschema + - name: Validate tools' JSON + run: | + cd -- schemas/ + ./validate-all-tools.py -s ./spec-v1.schema.json -s ./spec-v2.schema.json -t ../tools From 2bc61f37ffd2958ecd75c0c890946186ef08e34c Mon Sep 17 00:00:00 2001 From: alekoe Date: Tue, 9 Jul 2024 17:23:07 +0200 Subject: [PATCH 4/7] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dfaf6ab..1e908b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Install dependencies From 1edde227bcdfca5b081fb0f076c85f7ef9c64cae Mon Sep 17 00:00:00 2001 From: alekoe Date: Tue, 9 Jul 2024 17:25:40 +0200 Subject: [PATCH 5/7] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1e908b3..79fd275 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,4 +21,4 @@ jobs: - name: Validate tools' JSON run: | cd -- schemas/ - ./validate-all-tools.py -s ./spec-v1.schema.json -s ./spec-v2.schema.json -t ../tools + ./validate-all-tools.py -s ./spec-v1.schema.json -s -t ../corpora/cmc-corpora From acee822be49a39451d18d449148579a9cbbaacd0 Mon Sep 17 00:00:00 2001 From: alekoe Date: Tue, 9 Jul 2024 17:28:02 +0200 Subject: [PATCH 6/7] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 79fd275..c92cfd2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,4 +21,4 @@ jobs: - name: Validate tools' JSON run: | cd -- schemas/ - ./validate-all-tools.py -s ./spec-v1.schema.json -s -t ../corpora/cmc-corpora + ./validate-all-tools.py -s ./spec-v1.schema.json -s -t ../corpora/cmc-corpora/ From 7d2e9bf7db35c9e87ee432cc6b686707ef1055d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Moreira?= Date: Tue, 9 Jul 2024 18:27:01 +0200 Subject: [PATCH 7/7] Removed dupplicated -s flag --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c92cfd2..66720c4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,4 +21,4 @@ jobs: - name: Validate tools' JSON run: | cd -- schemas/ - ./validate-all-tools.py -s ./spec-v1.schema.json -s -t ../corpora/cmc-corpora/ + ./validate-all-tools.py -s ./spec-v1.schema.json -t ../corpora/cmc-corpora/