Skip to content

Commit a938702

Browse files
committed
Update GitHub Actions workflow to improve script checking
Modify tests.yml to: - Include additional scripts in chmod and shellcheck commands - Add -x flag to shellcheck for more comprehensive linting - Ensure all context-related scripts are properly checked
1 parent fdc9005 commit a938702

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
2424
- name: Make scripts executable
2525
run: |
26-
chmod +x context
26+
chmod +x context git-context apply-md
2727
chmod +x test/test_runner.sh
2828
chmod +x test/unit/test_*.sh
2929
@@ -41,10 +41,10 @@ jobs:
4141
run: |
4242
sudo apt-get update
4343
sudo apt-get install -y shellcheck
44-
shellcheck context
45-
shellcheck test/test_runner.sh
46-
shellcheck test/test_utils.sh
47-
shellcheck test/unit/test_*.sh
44+
shellcheck -x context git-context apply-md
45+
shellcheck -x test/test_runner.sh
46+
shellcheck -x test/test_utils.sh
47+
shellcheck -x test/unit/test_*.sh
4848
4949
compatibility:
5050
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)