feat: add fast-path ISO 8601 parsing helpers for DateTime, DateTimeOf… #30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CodeQL Security Analysis | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - "**/*.md" | |
| - "LICENSE.txt" | |
| - ".gitignore" | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - "**/*.md" | |
| - "LICENSE.txt" | |
| - ".gitignore" | |
| schedule: | |
| - cron: "0 0 * * 1" # Weekly on Mondays at midnight UTC | |
| jobs: | |
| analyze: | |
| name: Analyze C++ | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: ["cpp"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| queries: security-and-quality | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential cmake ninja-build | |
| - name: Configure CMake | |
| run: | | |
| cmake -B build -G Ninja \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DNFX_DATETIME_BUILD_STATIC=ON \ | |
| -DNFX_DATETIME_BUILD_SHARED=ON \ | |
| -DNFX_DATETIME_BUILD_TESTS=OFF \ | |
| -DNFX_DATETIME_BUILD_SAMPLES=OFF \ | |
| -DNFX_DATETIME_BUILD_BENCHMARKS=OFF \ | |
| -DNFX_DATETIME_BUILD_DOCUMENTATION=OFF | |
| - name: Build | |
| run: cmake --build build --config Release | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: "/language:${{ matrix.language }}" |