Skip to content

Commit 59c53c0

Browse files
fix: test different bash versions
1 parent e433114 commit 59c53c0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,21 @@ on:
77
jobs:
88
test:
99
uses: bats-core/.github/.github/workflows/test.yml@v1
10+
11+
bash-versions:
12+
#if: inputs.npm
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
version: [3, 4, 5, rc]
18+
container:
19+
image: bash:${{ matrix.version }}
20+
steps:
21+
- uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
22+
with: { egress-policy: audit }
23+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
- run: apk add --update npm
25+
- run: npm cit
26+
env:
27+
BATS_LIB_PATH: ${{ github.workspace }}/node_modules

0 commit comments

Comments
 (0)