Skip to content

Commit c45bec8

Browse files
authored
update codeql workflow (#1872)
Signed-off-by: shankar <shankar@layerzerolabs.org>
1 parent 27ce84e commit c45bec8

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

.changeset/serious-shoes-bake.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@layerzerolabs/protocol-devtools-solana": patch
3+
"@layerzerolabs/ua-devtools-solana": patch
4+
---
5+
6+
shell linting

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
fail-fast: false
5454
matrix:
55-
language: ['javascript-typescript', 'rust']
55+
language: ['javascript-typescript']
5656

5757
# Skip autobuild - CodeQL can analyze source code directly
5858
# No need to compile or install dependencies for static analysis

bin/env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
# (The "." will execute this inside the current shell instead of creating a child one)
1111

1212
set -a
13-
source ${1:-.env}
13+
# shellcheck source=/dev/null
14+
source "${1:-.env}"
1415
set +a

packages/protocol-devtools-solana/bin/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
if [ -z "${LZ_DEVTOOLS_ENABLE_SOLANA_TESTS}" ]; then
44
echo 'Solana tests can be enabled by setting LZ_DEVTOOLS_ENABLE_SOLANA_TESTS environment variable to a non-empty value'
55
else
6-
jest --ci $@
6+
jest --ci "$@"
77
fi

packages/ua-devtools-solana/bin/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
if [ -z "${LZ_DEVTOOLS_ENABLE_SOLANA_TESTS}" ]; then
44
echo 'Solana tests can be enabled by setting LZ_DEVTOOLS_ENABLE_SOLANA_TESTS environment variable to a non-empty value'
55
else
6-
jest --ci --pass-with-no-tests $@
6+
jest --ci --pass-with-no-tests "$@"
77
fi

0 commit comments

Comments
 (0)