Skip to content

Commit aeecb06

Browse files
authored
Merge branch 'main' into bhamehta/vcpkg-port-rearchitect
2 parents 0b0be1a + 05b4b4c commit aeecb06

17 files changed

Lines changed: 11998 additions & 35912 deletions

‎.github/workflows/build-android.yml‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,18 @@ on:
1717
- main
1818
- dev
1919

20-
21-
concurrency:
22-
group: ${{ github.workflow }}-${{ github.ref }}
23-
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
24-
20+
21+
# Least-privilege GITHUB_TOKEN scope: this workflow only checks out source
22+
# and builds + uploads artifacts (upload-artifact uses its own per-run SAS,
23+
# not GITHUB_TOKEN). Explicit block satisfies CodeQL rule
24+
# actions/missing-workflow-permissions if Actions analysis is enabled.
25+
permissions:
26+
contents: read
27+
28+
concurrency:
29+
group: ${{ github.workflow }}-${{ github.ref }}
30+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
31+
2532
jobs:
2633
build:
2734
runs-on: windows-latest

‎.github/workflows/build-ios-mac.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ on:
2020
- cron: 0 2 * * 1-5
2121

2222

23+
# Least-privilege GITHUB_TOKEN scope: this workflow only checks out source
24+
# and runs the iOS/macOS build matrix. Explicit block satisfies CodeQL rule
25+
# actions/missing-workflow-permissions if Actions analysis is enabled.
26+
permissions:
27+
contents: read
28+
2329
concurrency:
2430
group: ${{ github.workflow }}-${{ github.ref }}
2531
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

‎.github/workflows/build-posix-latest.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ on:
2020
- cron: 0 2 * * 1-5
2121

2222

23+
# Least-privilege GITHUB_TOKEN scope: this workflow only checks out source
24+
# and runs the Linux/Mac build matrix. Explicit block satisfies CodeQL rule
25+
# actions/missing-workflow-permissions if Actions analysis is enabled.
26+
permissions:
27+
contents: read
28+
2329
concurrency:
2430
group: ${{ github.workflow }}-${{ github.ref }}
2531
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

‎.github/workflows/build-ubuntu-2204.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ on:
2020
- cron: 0 2 * * 1-5
2121

2222

23+
# Least-privilege GITHUB_TOKEN scope: this workflow only checks out source
24+
# and runs the Ubuntu 22.04 build. Explicit block satisfies CodeQL rule
25+
# actions/missing-workflow-permissions if Actions analysis is enabled.
26+
permissions:
27+
contents: read
28+
2329
concurrency:
2430
group: ${{ github.workflow }}-${{ github.ref }}
2531
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

‎.github/workflows/build-windows-vs2022.yaml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ on:
1313
- main
1414
- dev
1515

16+
# Least-privilege GITHUB_TOKEN scope: this workflow only checks out source
17+
# and runs the Visual Studio 2022 build. Explicit block satisfies CodeQL
18+
# rule actions/missing-workflow-permissions if Actions analysis is enabled.
19+
permissions:
20+
contents: read
21+
1622
jobs:
1723
build:
1824

‎.github/workflows/spellcheck.yml‎

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
pull_request:
77
branches: [ master, main ]
88

9+
# Least-privilege GITHUB_TOKEN scope: misspell only reads .md/.txt files
10+
# (no PR comments, no status updates, no package writes). Explicit block
11+
# satisfies CodeQL "actions/missing-workflow-permissions" and keeps the
12+
# token narrowly scoped if Actions analysis is enabled here later.
13+
permissions:
14+
contents: read
915

1016
concurrency:
1117
group: ${{ github.workflow }}-${{ github.ref }}
@@ -22,9 +28,22 @@ jobs:
2228
continue-on-error: true
2329

2430
- name: install misspell
31+
env:
32+
# misspell v0.3.4 linux 64-bit tarball SHA256 (from upstream
33+
# release checksums.txt). Pinning version + verifying SHA
34+
# avoids executing an unpinned bootstrap script from a floating
35+
# ref (the prior 'curl https://git.io/misspell | sh' pattern is
36+
# a supply-chain risk) and keeps CI reproducible. Bump
37+
# deliberately when upstream releases.
38+
MISSPELL_VERSION: "0.3.4"
39+
MISSPELL_SHA256: "afd95caf1eecc72ff382791e00b3b11523a20b0579d95e2295c1c043688743d5"
2540
run: |
26-
curl -L -o ./install-misspell.sh https://git.io/misspell
27-
sh ./install-misspell.sh
41+
curl -fsSL -o misspell.tar.gz \
42+
"https://github.com/client9/misspell/releases/download/v${MISSPELL_VERSION}/misspell_${MISSPELL_VERSION}_linux_64bit.tar.gz"
43+
echo "${MISSPELL_SHA256} misspell.tar.gz" | sha256sum -c -
44+
mkdir -p bin
45+
tar -xzf misspell.tar.gz -C bin misspell
46+
rm misspell.tar.gz
2847
2948
- name: run misspell
3049
run: |

‎.github/workflows/test-win-latest.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ on:
2020
- cron: 0 2 * * 1-5
2121

2222

23+
# Least-privilege GITHUB_TOKEN scope: this workflow only checks out source
24+
# and runs Windows unit/functional tests. Explicit block satisfies CodeQL
25+
# rule actions/missing-workflow-permissions if Actions analysis is enabled.
26+
permissions:
27+
contents: read
28+
2329
concurrency:
2430
group: ${{ github.workflow }}-${{ github.ref }}
2531
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

‎Android.bp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ cc_library_shared {
8181
"lib/http/HttpClient_Android.cpp"
8282
],
8383
local_include_dirs: [
84+
".",
8485
"lib",
8586
"lib/include/public",
8687
"lib/include",

‎cgmanifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"Type": "git",
77
"git": {
88
"RepositoryUrl": "https://github.com/nlohmann/json",
9-
"CommitHash": "9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03"
9+
"CommitHash": "55f93686c01528224f448c19128836e7df245f72"
1010
}
1111
},
1212
"DevelopmentDependency": false

‎docs/List-of-OSS-Components.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The SDK provides an option to use a secure version of the traditional `memset` f
2222

2323
JSON for Modern C++.
2424

25-
SDK maintains its own snapshot of the mainline `nlohmann/json` header-only library [here](../lib/include/mat/json.hpp).
25+
SDK maintains its own snapshot of the mainline `nlohmann/json` header-only library [here](../nlohmann/json.hpp).
2626

2727
## [libcurl](https://curl.haxx.se/libcurl/)
2828

0 commit comments

Comments
 (0)