Skip to content

Commit

Permalink
fix shellcheck issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rlespinasse committed Oct 31, 2024
1 parent 26b53e3 commit 8812106
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/v5-tests-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
short-length: 4
- name: Using correct length // Validate that all short variables lengths are equals to short-length
run: |
env | grep "CSL_" | grep "_SHORT" | cut -d"=" -f2 | while read -r value; do [ "$(echo "$value" | wc -m)" -le 5 ] ; done
env | grep "CSL_" | grep "_SHORT" | cut -d"=" -f2 | while read -r value; do [ "$(echo "${value}" | wc -m)" -le 5 ] ; done
shell: bash

# Test 2
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
short-length: 4
- name: Using correct length // Validate that all short variables lengths are equals to short-length
run: |
env | grep "CSL_" | grep "_SHORT" | cut -d"=" -f2 | while read -r value; do [ "$(echo "$value" | wc -m)" -le 5 ] ; done
env | grep "CSL_" | grep "_SHORT" | cut -d"=" -f2 | while read -r value; do [ "$(echo "${value}" | wc -m)" -le 5 ] ; done
shell: bash

# Test 2
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
slug-maxlength: 1
- name: Using correct max length // Validate that all slug variables lengths are equals or under the slug-maxlength
run: |
env | grep "CML_" | grep "_SLUG" | cut -d"=" -f2 | while read -r value; do [ "$(echo "$value" | wc -m)" -le 2 ] ; done
env | grep "CML_" | grep "_SLUG" | cut -d"=" -f2 | while read -r value; do [ "$(echo "${value}" | wc -m)" -le 2 ] ; done
shell: bash

# Test 2
Expand Down

0 comments on commit 8812106

Please sign in to comment.