Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jamshale committed Apr 15, 2024
1 parent f41c9b6 commit 05d0872
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
failed_lint: ${{ steps.lint_plugins.outputs.lint_plugins }}
defaults:
run:
working-directory: ./plugin_globals
working-directory: .
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -43,6 +43,7 @@ jobs:
- name: Get global aries-cloudagent version from plugins repo
id: current_global_version
run: |
cd plugin_globals
lock_version=$(grep -A1 'name = "aries-cloudagent"' poetry.lock | grep -v 'name = "aries-cloudagent"')
version=$(grep -oP '(?<=").*?(?=")' <<< "$lock_version")
echo current_global_version=$version >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -76,15 +77,15 @@ jobs:
id: lint_plugins
continue-on-error: true
run: |
cd ..
declare -a lint_plugins=()
for dir in ../*/; do
cd $dir
for dir in ./*/; do
current_folder=$(basename "$dir")
cd $current_folder
if poetry run ruff check .; then
echo "plugin $dir passed lint check"
echo "plugin $current_folder passed lint check"
else
echo "plugin $dir failed lint check"
failed_plugins+=("$dir")
echo "plugin $current_folder failed lint check"
failed_plugins+=("$current_folder")
fi
cd ..
done
Expand Down

0 comments on commit 05d0872

Please sign in to comment.