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

Merge main into releases/v2 #1829

Merged
merged 49 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
097823f
Add support for the code_scanning_codeql_java_lombok feature flag
igfoo Jul 27, 2023
cae6b78
Be more consistent
igfoo Jul 27, 2023
a27d3e9
Fix lint suggestions
igfoo Jul 27, 2023
4f6104c
Run "npm run build"
igfoo Jul 27, 2023
c946707
Pass codeql in to check
igfoo Jul 27, 2023
976ada2
Regen
igfoo Jul 27, 2023
67e62e7
Don't print the lines of code baseline when new analysis summary enabled
henrymercer Jul 28, 2023
34090fe
Lombok: Only do anything if Java is being analysed
igfoo Jul 28, 2023
eea148f
Run "npm run build"
igfoo Jul 28, 2023
868eec5
Update changelog and version after v2.21.2
github-actions[bot] Jul 28, 2023
7c2bd35
Update checked-in dependencies
github-actions[bot] Jul 28, 2023
c8b21b5
Merge pull request #1814 from github/mergeback/v2.21.2-to-main-0ba42444
alexet Jul 28, 2023
81ae676
Merge pull request #1812 from github/henrymercer/no-loc-baseline-for-…
henrymercer Jul 28, 2023
d9d3212
Simplify README to recommend default setup and refer to docs
henrymercer Jul 28, 2023
5691205
Make not specifying a required input a user error
henrymercer Jul 28, 2023
79690d4
Make submitting advanced analysis when default setup on a user error
henrymercer Jul 28, 2023
bcfe489
Improve function name
henrymercer Jul 28, 2023
bc068d7
Use feature flag to enable evaluator intra-layer parallelism
nickrolfe Jul 31, 2023
2f8540d
Add CHANGELOG entry for intra-layer parallelism rollout
nickrolfe Jul 31, 2023
cf445f7
Merge pull request #1817 from github/nickrolfe/evaluator-intra-layer-…
nickrolfe Jul 31, 2023
c7b7456
Pass explicit option to disable intra-layer parallelism
nickrolfe Jul 31, 2023
245422d
Merge pull request #1815 from github/henrymercer/update-readme
henrymercer Jul 31, 2023
6a17359
Merge pull request #1816 from github/henrymercer/more-user-errors
henrymercer Jul 31, 2023
a6b0ced
Merge pull request #1818 from github/nickrolfe/disable-intra-layer-pa…
nickrolfe Jul 31, 2023
e7e35ba
Bump the npm group with 2 updates (#1819)
dependabot[bot] Aug 1, 2023
38adb40
Delete bundle archive after extracting it
henrymercer Aug 1, 2023
ea47b2a
Add changelog note
henrymercer Aug 1, 2023
f93fb8d
Clean up non-toolcached bundle
henrymercer Aug 1, 2023
92c848e
Improve variable naming
henrymercer Aug 1, 2023
61cdd25
Factor out common code for cleaning up bundle artifacts
henrymercer Aug 1, 2023
7b79062
Merge pull request #1820 from github/henrymercer/delete-bundle-archive
henrymercer Aug 1, 2023
7d646d3
Empty commit
angelapwen Aug 2, 2023
c32aadf
Merge branch 'main' into igfoo/code_scanning_codeql_java_lombok
angelapwen Aug 2, 2023
1b6e91d
Autogenerate source map
angelapwen Aug 2, 2023
2192e34
Merge pull request #1809 from github/igfoo/code_scanning_codeql_java_…
coadaflorin Aug 2, 2023
49e0fc2
PR checks: Rename `cached` to `default`
henrymercer Aug 2, 2023
a98b9bd
Merge pull request #1821 from github/henrymercer/pr-checks/improve-ve…
henrymercer Aug 3, 2023
1f63aba
PR Checks: Test `codeql-bundle.tar.gz` (#1822)
angelapwen Aug 3, 2023
f128379
Make Swift setup more consistent with default setup
henrymercer Aug 3, 2023
0ff6cfb
Only workaround invalid notifications for CodeQL CLI 2.13.0 and earlier
henrymercer Aug 3, 2023
2203178
Increase scaling factor for reserved RAM to 5%
henrymercer Aug 7, 2023
66dc883
Merge pull request #1826 from github/henrymercer/increase-reserved-sc…
henrymercer Aug 7, 2023
63602c0
Merge pull request #1824 from github/henrymercer/cli-notifications-fix
henrymercer Aug 7, 2023
878ae4a
Merge pull request #1823 from github/henrymercer/setup-swift-more-con…
henrymercer Aug 7, 2023
7e2f56a
Bump the npm group with 3 updates
dependabot[bot] Aug 7, 2023
31b9dd1
Update checked-in dependencies
github-actions[bot] Aug 7, 2023
f9a7c67
Merge pull request #1827 from github/dependabot/npm_and_yarn/npm-5103…
henrymercer Aug 8, 2023
dda4ed3
Update changelog for v2.21.3
github-actions[bot] Aug 8, 2023
f0f7a35
Add changenote for Lombok rollout
igfoo Aug 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 9 additions & 3 deletions .github/actions/prepare-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ name: "Prepare test"
description: Performs some preparation to run tests
inputs:
version:
description: "The version of the CodeQL CLI to use. Can be 'latest', 'cached', 'nightly-latest', 'nightly-YYYY-MM-DD', or 'stable-YYYY-MM-DD'."
description: "The version of the CodeQL CLI to use. Can be 'latest', 'default', 'nightly-latest', 'nightly-YYYY-MM-DD', or 'stable-YYYY-MM-DD'."
required: true
use-all-platform-bundle:
description: "If true, we output a tools URL with codeql-bundle.tar.gz file rather than platform-specific URL"
default: 'false'
required: false
outputs:
tools-url:
description: "The value that should be passed as the 'tools' input of the 'init' step."
Expand All @@ -24,7 +28,9 @@ runs:
run: |
set -e # Fail this Action if `gh release list` fails.

if [[ "$RUNNER_OS" == "Linux" ]]; then
if [[ ${{ inputs.use-all-platform-bundle }} == "true" ]]; then
artifact_name="codeql-bundle.tar.gz"
elif [[ "$RUNNER_OS" == "Linux" ]]; then
artifact_name="codeql-bundle-linux64.tar.gz"
elif [[ "$RUNNER_OS" == "macOS" ]]; then
artifact_name="codeql-bundle-osx64.tar.gz"
Expand All @@ -46,7 +52,7 @@ runs:
echo "tools-url=https://github.com/github/codeql-action/releases/download/codeql-bundle-$version/$artifact_name" >> $GITHUB_OUTPUT
elif [[ ${{ inputs.version }} == "latest" ]]; then
echo "tools-url=latest" >> $GITHUB_OUTPUT
elif [[ ${{ inputs.version }} == "cached" ]]; then
elif [[ ${{ inputs.version }} == "default" ]]; then
echo "tools-url=" >> $GITHUB_OUTPUT
else
echo "::error::Unrecognized version specified!"
Expand Down
15 changes: 5 additions & 10 deletions .github/actions/setup-swift/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Set up Swift"
description: Sets up an appropriate Swift version if supported on this platform.
name: "Set up Swift on Linux"
description: Sets up an appropriate Swift version on Linux.
inputs:
codeql-path:
description: Path to the CodeQL CLI executable.
Expand All @@ -9,21 +9,16 @@ runs:
steps:
- name: Get Swift version
id: get_swift_version
if: runner.os != 'Windows'
if: runner.os == 'Linux'
shell: bash
env:
CODEQL_PATH: ${{ inputs.codeql-path }}
run: |
if [[ $RUNNER_OS = "macOS" ]]; then
PLATFORM="osx64"
else # We do not run this step on Windows.
PLATFORM="linux64"
fi
SWIFT_EXTRACTOR_DIR="$("$CODEQL_PATH" resolve languages --format json | jq -r '.swift[0]')"
if [ $SWIFT_EXTRACTOR_DIR = "null" ]; then
VERSION="null"
else
VERSION="$("$SWIFT_EXTRACTOR_DIR/tools/$PLATFORM/extractor" --version | awk '/version/ { print $3 }')"
VERSION="$("$SWIFT_EXTRACTOR_DIR/tools/linux64/extractor" --version | awk '/version/ { print $3 }')"
# Specify 5.x.0, otherwise setup Action will default to latest minor version.
if [ $VERSION = "5.7" ]; then
VERSION="5.7.0"
Expand All @@ -37,6 +32,6 @@ runs:
echo "version=$VERSION" | tee -a $GITHUB_OUTPUT

- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf # Please update the corresponding SHA in the CLI's CodeQL Action Integration Test.
if: runner.os != 'Windows' && steps.get_swift_version.outputs.version != 'null'
if: runner.os == 'Linux' && steps.get_swift_version.outputs.version != 'null'
with:
swift-version: "${{ steps.get_swift_version.outputs.version }}"
67 changes: 67 additions & 0 deletions .github/workflows/__all-platform-bundle.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions .github/workflows/__analyze-ref-input.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/__autobuild-action.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/__config-export.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/__diagnostics-export.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/__export-file-baseline-information.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/__extractor-ram-threads.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions .github/workflows/__go-custom-queries.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .github/workflows/__go-tracing-autobuilder.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .github/workflows/__go-tracing-custom-build-steps.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .github/workflows/__go-tracing-legacy-workflow.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions .github/workflows/__init-with-registries.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/__javascript-source-root.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions .github/workflows/__ml-powered-queries.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .github/workflows/__multi-language-autodetect.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading