Skip to content

Commit

Permalink
add CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
lum1n0us committed Oct 26, 2024
1 parent e483544 commit 0f1f684
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ ENV RUSTUP_HOME=/home/vscode/.rustup
RUN curl -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="${CARGO_HOME}/bin:${PATH}"

#
# Install CodeQL CLI
RUN cd /opt \
&& wget https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.19.2/codeql-bundle-linux64.tar.gz \
&& tar xf codeql-bundle-linux64.tar.gz \
&& rm codeql-bundle-linux64.tar.gz
ENV PATH="/opt/codeql:${PATH}"

# set path
ENV PATH="/home/vscode/.opam/default/bin:/opt/bazelisk:/usr/lib/llvm-${LLVM_VER}/bin:${PATH}"
# clean
Expand Down
2 changes: 2 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"esbenp.prettier-vscode",
"GitHub.vscode-codeql",
"GitHub.vscode-pull-request-github",
"ms-python.debugpy",
"ms-python.python",
"ms-python.black-formatter",
Expand Down

0 comments on commit 0f1f684

Please sign in to comment.