Skip to content

Commit 786684d

Browse files
data-douserCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Nathan Randall <70299490+data-douser@users.noreply.github.com>
1 parent d20093e commit 786684d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • .github/actions/setup-codeql-environment

.github/actions/setup-codeql-environment/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ inputs:
1919
languages:
2020
description: 'Comma-separated list of target programming languages for which dependencies should be installed'
2121
required: false
22-
default: 'csharp,go,java,javascript,python,ruby,rust'
22+
default: 'csharp,go,java,javascript,python,ruby'
2323

2424
# Language runtime versions (only used if install-language-runtimes is true)
2525
python-version:
@@ -327,7 +327,7 @@ runs:
327327
fi
328328
329329
# Check for Rust dependency files
330-
if [[ -f "Cargo.toml" ]] || compgen -G '**/Cargo.toml' >/dev/null; then
330+
if [[ -f "Cargo.toml" ]] || find . -mindepth 2 -name 'Cargo.toml' -print -quit | grep -q .; then
331331
echo "rust-deps=true" >> $GITHUB_OUTPUT
332332
echo "Found Rust dependency files"
333333
else

0 commit comments

Comments
 (0)