feat(iot): v1.2.2 zero-trust usb serial fallback #208
Workflow file for this run
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 Analysis" | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| schedule: | |
| - cron: '30 1 * * 1' | |
| jobs: | |
| analyze: | |
| name: Analyze (${{ matrix.language }}) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: [ 'python', 'cpp', 'javascript' ] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@4187e74d05793876e9989daffde9c3e66b4acd07 | |
| with: | |
| languages: ${{ matrix.language }} | |
| config-file: ./.github/codeql/codeql-config.yml | |
| - name: Install PlatformIO | |
| if: matrix.language == 'cpp' | |
| run: | | |
| pip install --only-binary :all: platformio==6.1.19 | |
| - name: Inject CI Environment Variables | |
| if: matrix.language == 'cpp' | |
| run: cp esp32_config.env.example esp32_config.env | |
| working-directory: firmware | |
| - name: Build firmware | |
| if: matrix.language == 'cpp' | |
| run: pio run | |
| working-directory: firmware | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@4187e74d05793876e9989daffde9c3e66b4acd07 |