fix: WiFi credentials not saved by WiFiManager #304
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" | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| paths: [ "src/**" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| paths: [ "src/**" ] | |
| workflow_dispatch: # allow manually calling the action | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v3 | |
| with: | |
| languages: cpp | |
| - name: Cache PlatformIO | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.platformio | |
| key: ${{ runner.os }}-pio-${{ hashFiles('platformio.ini') }} | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Install PlatformIO | |
| run: pip install platformio==6.1.19 | |
| - name: Install PlatformIO Libs | |
| run: pio pkg install | |
| # - name: PlatformIO static check | |
| # # empty target to prevent upload | |
| # run: pio check | |
| - name: Run PlatformIO | |
| # empty target to prevent upload, single env is sufficient for analysis | |
| run: pio run -e inkplate10 -t '' | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v3 | |
| with: | |
| category: "/language:cpp" |