From 5f56e9b75d1b1b9d6c506a8804971c0f3310601f Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 14 Oct 2024 07:47:51 -0700 Subject: [PATCH 1/6] Update test.yml workflow for find-invalid-json.sh --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 11fc1855c..82e4739b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,5 +13,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: clone mkiocccentry + run: git clone https://github.com/ioccc-src/mkiocccentry + - name: install jparse + run: cd mkiocccentry && make all && cd jparse && sudo make all install - name: make test run: make test From f6bb020f721fc19e24b4b899831545059c0c0208 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 14 Oct 2024 08:12:14 -0700 Subject: [PATCH 2/6] Remove mkiocccentry in test.yml workflow This is because the mkiocccentry repo has offending markdown files. Hopefully this resolves the workflow problem with find-invalid-json.sh script and rule added to make test. --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 82e4739b6..36ad1db8e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,5 +17,7 @@ jobs: run: git clone https://github.com/ioccc-src/mkiocccentry - name: install jparse run: cd mkiocccentry && make all && cd jparse && sudo make all install + - name: remove mkiocccentry + - run: rm -fr mkiocccentry - name: make test run: make test From 873c320f4b0b638c855b72a85c8295e5efeb8646 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 14 Oct 2024 08:16:18 -0700 Subject: [PATCH 3/6] Typo fix in test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36ad1db8e..98f7d9cb1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - name: clone mkiocccentry run: git clone https://github.com/ioccc-src/mkiocccentry - name: install jparse - run: cd mkiocccentry && make all && cd jparse && sudo make all install + - run: cd mkiocccentry && make all && cd jparse && sudo make all install - name: remove mkiocccentry - run: rm -fr mkiocccentry - name: make test From 528236f7f31a9ce89e31cc88502b6513ec3d6def Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 14 Oct 2024 08:17:54 -0700 Subject: [PATCH 4/6] Another typo fix in test.yml Hopefully this solves the problem. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98f7d9cb1..0968bf02c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: clone mkiocccentry - run: git clone https://github.com/ioccc-src/mkiocccentry + - run: git clone https://github.com/ioccc-src/mkiocccentry - name: install jparse - run: cd mkiocccentry && make all && cd jparse && sudo make all install - name: remove mkiocccentry From 000c555cfe914d7deef5f63bc4bf1e89006ce30c Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 14 Oct 2024 08:19:42 -0700 Subject: [PATCH 5/6] Yet another typo fix in test.yml Q: What do you call the time when a person tries to fix something when they only have a minute? A: Rush minute! Anyway hopefully this is the final typo fixed needed. If not I have more time now, however, so the problem can be remedied. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0968bf02c..3a1bb139f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,4 +20,4 @@ jobs: - name: remove mkiocccentry - run: rm -fr mkiocccentry - name: make test - run: make test + - run: make test From 205b7a38b36ff0e845d98772d54ecedd966460a2 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 14 Oct 2024 08:24:32 -0700 Subject: [PATCH 6/6] Try (yet again) fixing workflow test.yml It seems that the problem was (or perhaps not .. we'll see :-) ) is that the 'run:' part of each task in the workflow file should not have a '-'. If this is the case then this should solve the problem and if so the problem was that some had it and others had it and in a rush I thought, forgetting the syntax, that the problem was the missing ones were incorrect. --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3a1bb139f..c61cf99f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@v4 - name: clone mkiocccentry - - run: git clone https://github.com/ioccc-src/mkiocccentry + run: git clone https://github.com/ioccc-src/mkiocccentry - name: install jparse - - run: cd mkiocccentry && make all && cd jparse && sudo make all install + run: cd mkiocccentry && make all && cd jparse && sudo make all install - name: remove mkiocccentry - - run: rm -fr mkiocccentry + run: rm -fr mkiocccentry - name: make test - - run: make test + run: make test