Skip to content

Commit d9a95d3

Browse files
author
morphilab
committed
fix: suppress SC1091 in test and upgrade checkout@v5
- Add shellcheck disable=SC1091 for dynamic source in bats test (file is created at runtime, ShellCheck cannot follow the path) - Upgrade actions/checkout@v4 → @v5 to fix Node.js 20 deprecation (GitHub will force Node.js 24 on June 16, 2026)
1 parent 8e103f8 commit d9a95d3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: ShellCheck
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515

1616
- name: Run ShellCheck (all .sh and .bats files)
1717
run: |
@@ -24,7 +24,7 @@ jobs:
2424
name: Bats Tests
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828

2929
- name: Install dependencies
3030
run: |

test/test_theduckpurge.bats

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ teardown() {
194194
}
195195

196196
@test "library mode: sourcing exposes functions" {
197+
# shellcheck disable=SC1091
197198
source "$TEST_TMP/theduckpurge"
198199
command -v check_metadata
199200
command -v clean_file

0 commit comments

Comments
 (0)