Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
6e4b3bf
Initial codeQL commit
randall-wyatt Sep 24, 2025
9b43a51
updating the yaml
randall-wyatt Sep 30, 2025
5b8a3ad
working on the build issues
randall-wyatt Sep 30, 2025
f9a5d59
updating java
randall-wyatt Sep 30, 2025
986acaa
trying something with yarn
randall-wyatt Sep 30, 2025
0f9469e
fixing indentation
randall-wyatt Sep 30, 2025
93297ff
working on indentation of the lib building
randall-wyatt Sep 30, 2025
9df4b2f
moar indentation fixes
randall-wyatt Sep 30, 2025
b4aa595
indentation fiddling
randall-wyatt Sep 30, 2025
6da8364
indentation fiddling
randall-wyatt Sep 30, 2025
c23a6a6
trying to fix the java portion
randall-wyatt Sep 30, 2025
fac1d0b
working on building the image
randall-wyatt Sep 30, 2025
009c106
removed dependency per the error
randall-wyatt Sep 30, 2025
6c3d2bb
working on building the image again
randall-wyatt Sep 30, 2025
c17d42c
seeing if the prebuild is the issue
randall-wyatt Sep 30, 2025
034a3bf
making it non-interactive
randall-wyatt Sep 30, 2025
ccfe9a8
trying no build steps
randall-wyatt Sep 30, 2025
139a073
setting build mode to none to test
randall-wyatt Oct 1, 2025
b0ffa04
working on building the pkg
randall-wyatt Oct 1, 2025
b8d9ebb
moving yarn prepare to other steps
randall-wyatt Oct 1, 2025
3d7161a
clean build perhaps
randall-wyatt Oct 1, 2025
a9b4f6f
shruggy on the slashes
randall-wyatt Oct 1, 2025
4770891
no clean build for you
randall-wyatt Oct 1, 2025
265bd6a
no touchy
randall-wyatt Oct 1, 2025
a722d7c
doit now
randall-wyatt Oct 1, 2025
659624c
yes maybe
randall-wyatt Oct 1, 2025
aafa37b
yes maybe again
randall-wyatt Oct 1, 2025
f04c2ec
errors galore
randall-wyatt Oct 1, 2025
95d4f44
why not just expo
randall-wyatt Oct 1, 2025
d1a4d4f
why not just expo part 2
randall-wyatt Oct 1, 2025
f4b5772
why not just expo part 3 now with more yes
randall-wyatt Oct 1, 2025
2a14ac0
no install
randall-wyatt Oct 1, 2025
9ecc7ef
trying something
randall-wyatt Oct 1, 2025
b5b5ddb
trying something else
randall-wyatt Oct 1, 2025
aa0202f
trying something else else
randall-wyatt Oct 1, 2025
0ff356a
moving things around
randall-wyatt Oct 1, 2025
8567c31
adding the emulator back in
randall-wyatt Oct 1, 2025
b2f8c56
adding the emulator back in and other things
randall-wyatt Oct 1, 2025
ad03f4a
adding the emulator back in and other things and more things
randall-wyatt Oct 1, 2025
ecde92e
adding the emulator back in and other things and more things
randall-wyatt Oct 1, 2025
3a53889
adding the emulator back in and ensuring its installed
randall-wyatt Oct 1, 2025
f93a84b
refactor: using the build steps from the example readme file
noelle-iterable Oct 7, 2025
7bcb926
fix: build failure for android and ios due to interactive mode
noelle-iterable Oct 7, 2025
4f59805
fix: build failure on incorrect build semantics
noelle-iterable Oct 7, 2025
9e24c0a
fix: build failure, attempted to run yarn prepare twice
noelle-iterable Oct 7, 2025
65d6e42
fix: build failure, apparently needed relative path
noelle-iterable Oct 7, 2025
79d5f84
fix: build failure, attempting to access wong dir structure
noelle-iterable Oct 7, 2025
be65da1
fix: build failure, temp home is weird
noelle-iterable Oct 7, 2025
92964d7
fix: build failure, I don't understand what is up with the dir structure
noelle-iterable Oct 7, 2025
b7a03dd
fix: build failure,
noelle-iterable Oct 7, 2025
2634f81
fix: build failure, build directory reference
noelle-iterable Oct 7, 2025
bd14c07
fix: build failure, attempting to set working directory for the run step
noelle-iterable Oct 7, 2025
8e80ddf
fix: build failure, using GITHUB_ENV varable
noelle-iterable Oct 7, 2025
decee24
fix: build failure, using but janky
noelle-iterable Oct 7, 2025
07f7128
fix: build failure, using the other notation directly in the run call
noelle-iterable Oct 7, 2025
015b5af
fix: build failure, github workspace declaration problem
noelle-iterable Oct 7, 2025
bfd1ad8
fix: build failure, I'm near out of ideas friends
noelle-iterable Oct 7, 2025
649b6ba
fix: build failure, more bad advice coming your way
noelle-iterable Oct 7, 2025
d4f1552
test: build failure, path issue debugging
noelle-iterable Oct 7, 2025
d64806f
test: build failure, directory structure not setup correctly
noelle-iterable Oct 7, 2025
0e468d6
test: build failure, still poking the path issue
noelle-iterable Oct 7, 2025
e4909d8
test: build failure, directories are not being created properly
noelle-iterable Oct 7, 2025
01b395b
test: build failure, is there npx expo weirdness
noelle-iterable Oct 7, 2025
9ae6cfe
test: build failure ios, used the wrong workspace reference
noelle-iterable Oct 7, 2025
b7f69bc
fix: validating assumptions about the build order of operations
noelle-iterable Oct 7, 2025
762f833
fix: if the prebuild step is run on it's own, it wants to be interactive
noelle-iterable Oct 7, 2025
3411fd3
fix: removed the debug path step
noelle-iterable Oct 7, 2025
56ce3a1
fix: that nxp prebuild command is wonky
noelle-iterable Oct 7, 2025
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
200 changes: 200 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
name: "CodeQL Analysis"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
Analyze_JSandTS:
name: Analyze (${{ matrix.language }})
runs-on: ${{ (matrix.language == 'javascript') || 'ubuntu-latest' }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: javascript-typescript
build-mode: none

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
queries: ${{ matrix.language && 'security-extended, security-and-quality' }}


# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# πŸ“š See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"


Build_Analyze_Android_Example:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: java
build-mode: manual

steps:

- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Build library
run: |
yarn prepare

# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
queries: ${{ matrix.language && 'security-extended, security-and-quality' }}

- if: matrix.build-mode == 'manual'
shell: bash
run: |
yarn install
cd example
yarn install
npx expo prebuild --clean
cd android
./gradlew clean

continue-on-error: true

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

Build_Analyze_iOS_Example:
name: Analyze (${{ matrix.language }})
timeout-minutes: 120

runs-on: ${{ (matrix.language == 'swift' && 'macos-15') || 'ubuntu-latest' }}
permissions:
# required for all workflows
security-events: write
# required to fetch internal or private CodeQL packs
packages: read
# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: swift
build-mode: manual

steps:

- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Build library
run: |
yarn prepare

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
queries: ${{ matrix.language && 'security-extended, security-and-quality' }}

- if: matrix.build-mode == 'manual'
shell: bash
run: |
yarn install
cd example
yarn install
npx expo prebuild --clean
cd ios
xcodebuild -workspace expopluginexample.xcworkspace -scheme expopluginexample -configuration Debug -destination 'platform=iOS Simulator,name=iPhone 16' build

continue-on-error: true

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
Binary file removed .yarn/install-state.gz
Binary file not shown.
Binary file removed example/.yarn/install-state.gz
Binary file not shown.
Loading