Skip to content

Commit 38d0659

Browse files
committed
final commit hopefully
1 parent 4576837 commit 38d0659

49 files changed

Lines changed: 1279 additions & 241 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/codeql.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
push:
16+
branches-ignore:
17+
- '*WIP'
18+
pull_request:
19+
# The branches below must be a subset of the branches above
20+
branches: [ "main" ]
21+
schedule:
22+
- cron: '20 11 * * 3'
23+
24+
jobs:
25+
analyze:
26+
name: Analyze
27+
# Runner size impacts CodeQL analysis time. To learn more, please see:
28+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
29+
# - https://gh.io/supported-runners-and-hardware-resources
30+
# - https://gh.io/using-larger-runners
31+
# Consider using larger runners for possible analysis time improvements.
32+
runs-on: ${{ (matrix.language == 'swift' && 'macos-15') || 'ubuntu-latest' }}
33+
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
34+
permissions:
35+
actions: read
36+
contents: read
37+
security-events: write
38+
39+
strategy:
40+
fail-fast: false
41+
matrix:
42+
language: [ 'swift' ]
43+
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
44+
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
45+
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
46+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
47+
48+
steps:
49+
- name: Checkout repository
50+
uses: actions/checkout@v4
51+
52+
- name: Setup Xcode
53+
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
54+
55+
- name: Verify Swift Version
56+
run: |
57+
swift --version
58+
swift package --version
59+
60+
# Initializes the CodeQL tools for scanning.
61+
- name: Initialize CodeQL
62+
uses: github/codeql-action/init@v3
63+
with:
64+
languages: ${{ matrix.language }}
65+
# If you wish to specify custom queries, you can do so here or in a config file.
66+
# By default, queries listed here will override any specified in a config file.
67+
# Prefix the list here with "+" to use these queries and those in the config file.
68+
69+
# 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
70+
# queries: security-extended,security-and-quality
71+
72+
73+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
74+
# If this step fails, then you should remove it and run the build manually (see below)
75+
- run: |
76+
echo "Run, Build Application using script"
77+
swift build
78+
79+
- name: Perform CodeQL Analysis
80+
uses: github/codeql-action/analyze@v3
81+
with:
82+
category: "/language:${{matrix.language}}"

.gitignore

Lines changed: 165 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,192 @@
1-
2-
# Created by https://www.toptal.com/developers/gitignore/api/swift,swiftpm,swiftpackagemanager,xcode,macos
3-
# Edit at https://www.toptal.com/developers/gitignore?templates=swift,swiftpm,swiftpackagemanager,xcode,macos
4-
5-
### macOS ###
6-
# General
1+
# macOS
72
.DS_Store
8-
.AppleDouble
9-
.LSOverride
10-
11-
# Icon must end with two \r
12-
Icon
13-
143

15-
# Thumbnails
16-
._*
4+
# Swift Package Manager
5+
.build/
6+
.swiftpm/
7+
DerivedData/
8+
.index-build/
179

18-
# Files that might appear in the root of a volume
19-
.DocumentRevisions-V100
20-
.fseventsd
21-
.Spotlight-V100
22-
.TemporaryItems
23-
.Trashes
24-
.VolumeIcon.icns
25-
.com.apple.timemachine.donotpresent
10+
# Xcode
11+
*.xcodeproj
12+
*.xcworkspace
13+
xcuserdata/
2614

27-
# Directories potentially created on remote AFP share
28-
.AppleDB
29-
.AppleDesktop
30-
Network Trash Folder
31-
Temporary Items
32-
.apdisk
15+
# IDE
16+
.vscode/
17+
.idea/
3318

34-
### Swift ###
35-
# Xcode
36-
#
37-
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
19+
### Node ###
20+
# Logs
21+
logs
22+
*.log
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
lerna-debug.log*
27+
.pnpm-debug.log*
3828

39-
## User settings
40-
xcuserdata/
29+
# Diagnostic reports (https://nodejs.org/api/report.html)
30+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
4131

42-
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
43-
*.xcscmblueprint
44-
*.xccheckout
32+
# Runtime data
33+
pids
34+
*.pid
35+
*.seed
36+
*.pid.lock
4537

46-
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
47-
build/
48-
DerivedData/
49-
*.moved-aside
50-
*.pbxuser
51-
!default.pbxuser
52-
*.mode1v3
53-
!default.mode1v3
54-
*.mode2v3
55-
!default.mode2v3
56-
*.perspectivev3
57-
!default.perspectivev3
58-
59-
## Obj-C/Swift specific
60-
*.hmap
61-
62-
## App packaging
63-
*.ipa
64-
*.dSYM.zip
65-
*.dSYM
66-
67-
## Playgrounds
68-
timeline.xctimeline
69-
playground.xcworkspace
38+
# Directory for instrumented libs generated by jscoverage/JSCover
39+
lib-cov
7040

71-
# Swift Package Manager
72-
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
73-
# Packages/
74-
# Package.pins
75-
# Package.resolved
76-
# *.xcodeproj
77-
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
78-
# hence it is not needed unless you have added a package configuration file to your project
79-
.swiftpm
41+
# Coverage directory used by tools like istanbul
42+
coverage
43+
*.lcov
8044

81-
.build/
45+
# nyc test coverage
46+
.nyc_output
8247

83-
# CocoaPods
84-
# We recommend against adding the Pods directory to your .gitignore. However
85-
# you should judge for yourself, the pros and cons are mentioned at:
86-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
87-
# Pods/
88-
# Add this line if you want to avoid checking in source code from the Xcode workspace
89-
# *.xcworkspace
48+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
49+
.grunt
9050

91-
# Carthage
92-
# Add this line if you want to avoid checking in source code from Carthage dependencies.
93-
# Carthage/Checkouts
51+
# Bower dependency directory (https://bower.io/)
52+
bower_components
9453

95-
Carthage/Build/
54+
# node-waf configuration
55+
.lock-wscript
9656

97-
# Accio dependency management
98-
Dependencies/
99-
.accio/
57+
# Compiled binary addons (https://nodejs.org/api/addons.html)
58+
build/Release
10059

101-
# fastlane
102-
# It is recommended to not store the screenshots in the git repo.
103-
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
104-
# For more information about the recommended setup visit:
105-
# https://docs.fastlane.tools/best-practices/source-control/#source-control
60+
# Dependency directories
61+
node_modules/
62+
jspm_packages/
10663

107-
fastlane/report.xml
108-
fastlane/Preview.html
109-
fastlane/screenshots/**/*.png
110-
fastlane/test_output
64+
# Snowpack dependency directory (https://snowpack.dev/)
65+
web_modules/
11166

112-
# Code Injection
113-
# After new code Injection tools there's a generated folder /iOSInjectionProject
114-
# https://github.com/johnno1962/injectionforxcode
67+
# TypeScript cache
68+
*.tsbuildinfo
11569

116-
iOSInjectionProject/
70+
# Optional npm cache directory
71+
.npm
11772

118-
### SwiftPackageManager ###
119-
Packages
120-
xcuserdata
121-
*.xcodeproj
73+
# Optional eslint cache
74+
.eslintcache
12275

76+
# Optional stylelint cache
77+
.stylelintcache
12378

124-
### SwiftPM ###
79+
# Microbundle cache
80+
.rpt2_cache/
81+
.rts2_cache_cjs/
82+
.rts2_cache_es/
83+
.rts2_cache_umd/
12584

85+
# Optional REPL history
86+
.node_repl_history
87+
88+
# Output of 'npm pack'
89+
*.tgz
90+
91+
# Yarn Integrity file
92+
.yarn-integrity
93+
94+
# dotenv environment variable files
95+
.env
96+
.env.development.local
97+
.env.test.local
98+
.env.production.local
99+
.env.local
100+
101+
# parcel-bundler cache (https://parceljs.org/)
102+
.cache
103+
.parcel-cache
104+
105+
# Next.js build output
106+
.next
107+
out
108+
109+
# Nuxt.js build / generate output
110+
.nuxt
111+
dist
112+
113+
# Gatsby files
114+
.cache/
115+
# Comment in the public line in if your project uses Gatsby and not Next.js
116+
# https://nextjs.org/blog/next-9-1#public-directory-support
117+
# public
118+
119+
# vuepress build output
120+
.vuepress/dist
121+
122+
# vuepress v2.x temp and cache directory
123+
.temp
124+
125+
# Docusaurus cache and generated files
126+
.docusaurus
126127

127-
### Xcode ###
128+
# Serverless directories
129+
.serverless/
128130

129-
## Xcode 8 and earlier
131+
# FuseBox cache
132+
.fusebox/
133+
134+
# DynamoDB Local files
135+
.dynamodb/
130136

131-
### Xcode Patch ###
132-
*.xcodeproj/*
133-
!*.xcodeproj/project.pbxproj
134-
!*.xcodeproj/xcshareddata/
135-
!*.xcworkspace/contents.xcworkspacedata
136-
/*.gcno
137-
**/xcshareddata/WorkspaceSettings.xcsettings
137+
# TernJS port file
138+
.tern-port
138139

139-
# End of https://www.toptal.com/developers/gitignore/api/swift,swiftpm,swiftpackagemanager,xcode,macos
140+
# Stores VSCode versions used for testing VSCode extensions
141+
.vscode-test
140142

141-
**/*.pxd/QuickLook/*.*
142-
**/*.appiconset/*.png
143+
# yarn v2
144+
.yarn/cache
145+
.yarn/unplugged
146+
.yarn/build-state.yml
147+
.yarn/install-state.gz
148+
.pnp.*
149+
150+
### Node Patch ###
151+
# Serverless Webpack directories
152+
.webpack/
153+
154+
# Optional stylelint cache
155+
156+
# SvelteKit build / generate output
157+
.svelte-kit
158+
159+
# End of https://www.toptal.com/developers/gitignore/api/node
160+
161+
dev-debug.log
162+
# Environment variables
163+
# Editor directories and files
164+
.idea
165+
.vscode
166+
*.suo
167+
*.ntvs*
168+
*.njsproj
169+
*.sln
170+
*.sw?
171+
# OS specific
172+
173+
# Task files
174+
# tasks.json
175+
# tasks/
176+
.mint/
177+
/Keys/
178+
.claude/settings.local.json
179+
180+
# Prevent accidental commits of private keys/certificates (server-to-server auth)
181+
*.p8
182+
*.pem
183+
*.key
184+
*.cer
185+
*.crt
186+
*.der
187+
*.p12
188+
*.pfx
189+
190+
# Allow placeholder docs/samples in Keys
191+
!Keys/README.md
192+
!Keys/*.example.*

0 commit comments

Comments
 (0)