Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add QL4QL to analyze the queries #511

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e68fb0e
Add minimal working Nix env
rvermeulen Jan 26, 2024
e0841eb
Remove dependency on CodeQL CLI
rvermeulen Jan 27, 2024
3efa7b5
Add derivative CodeQL QL for QL queries and libraries
rvermeulen Jan 27, 2024
c5be6b1
Add support for additional packs and extractors
rvermeulen Jan 27, 2024
3fbd6a6
Rename derivatives and include QL for QL pack.
rvermeulen Jan 27, 2024
39126fb
Move CodeQL tooling and shell derivative into tooling directory
rvermeulen Jan 27, 2024
cda3971
Remove output of environment when building CodeQL derivative
rvermeulen Jan 27, 2024
ab731b2
Copy the contents of the pack derivative instead of the derivative dir
rvermeulen Jan 27, 2024
749ea80
Add workflow to run CodeQL on QL queries
rvermeulen Jan 27, 2024
93b27e8
Run analyzes on PRs or pushes to main
rvermeulen Jan 27, 2024
e60bb08
Allow usage of non-free derivatives
rvermeulen Jan 27, 2024
b628c0c
Pin Nix packages
rvermeulen Jan 27, 2024
67baed8
Select the hash based on the platform
rvermeulen Jan 27, 2024
f80e31e
Address issue with JDK on Linux
rvermeulen Jan 29, 2024
6fe5e35
Prepare all tools for other derivatives
rvermeulen Jan 29, 2024
131f6ab
Add shell derivate to test CodeQL CLI
rvermeulen Jan 29, 2024
4e5d514
Cache the Nix store for improved runtime
rvermeulen Jan 29, 2024
4121f79
Fix incorrect option specification
rvermeulen Jan 29, 2024
cdf9295
Close Nix expression
rvermeulen Jan 29, 2024
250fe90
Preserve the GitHub token environment variable to upload results
rvermeulen Jan 29, 2024
6f4124e
Pass GitHub token through env
rvermeulen Jan 29, 2024
750e8be
Limit GH token to security event writes
rvermeulen Jan 29, 2024
1dda311
Key the Nix store on the workflow file
rvermeulen Jan 29, 2024
9537f6a
Attempt bind mount to address cache write issues
rvermeulen Jan 29, 2024
b824f61
Attempt use of Nix copy command for caching store
rvermeulen Jan 30, 2024
e7ea5b7
Unify cache key
rvermeulen Jan 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix incorrect option specification
  • Loading branch information
rvermeulen committed Jan 29, 2024
commit 4121f79a5a19da3359ccf90b22a8d7402c702eba
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ jobs:

- name: Create database
run: |
nix-shell --pure --command "codeql database create --language=ql --source=. $RUNNER_TEMP/ql-db" tooling/shell.nix
nix-shell --pure --command "codeql database create --language=ql --source-root=. $RUNNER_TEMP/ql-db" tooling/shell.nix

- name: Analyze database
run: |
Loading