Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JamyGolden committed May 1, 2024
1 parent ac4202d commit 47c9b82
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
run: sudo apt install yamllint

- name: Lint schemes
run: yamllint ${{ github.workspace }} && ${{ github.workspace }}/scripts/lint
run: yamllint ${{ github.workspace }} && ${{ github.workspace }}/scripts/lint "${{ github.workspace }}"
7 changes: 6 additions & 1 deletion scripts/lint
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#!/usr/bin/env sh

workspace="$1"
supported_schemes_systems="base16 base24"

if [ -z $workspace ]; then
echo "Missing 'workspace' argument"
fi

for scheme_system in $supported_schemes_systems; do
for scheme_path in "$scheme_system"/*; do
for scheme_path in "$workspace/$scheme_system"/*; do
scheme_filename=$(basename -- "$scheme_path")

case "$scheme_filename" in
Expand Down

0 comments on commit 47c9b82

Please sign in to comment.