Bump actions/checkout from 4.2.1 to 7.0.0 #41
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
| # Build the firmware on every push and PR so main always compiles. | |
| # Third-party actions are pinned to commit SHAs (supply-chain hardening); | |
| # the trailing comment tracks the human-readable version. | |
| name: build | |
| # This workflow runs on untrusted PRs and needs no secrets or write access. | |
| permissions: {} | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ['v*'] | |
| pull_request: | |
| jobs: | |
| tracker: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| target: [esp32c3, esp32s3, esp32c6] | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Build tracker (${{ matrix.target }}) | |
| uses: espressif/esp-idf-ci-action@e6f5c74232b1ccd4c97ed641f1e48553853f1fd5 # v1.2.0 | |
| with: | |
| esp_idf_version: v5.5.4 | |
| target: ${{ matrix.target }} | |
| - name: Upload firmware artifact | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: crowmotion-${{ matrix.target }} | |
| path: build/crowmotion.bin | |
| bridge: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Build CrowLink bridge (esp32c6) | |
| uses: espressif/esp-idf-ci-action@e6f5c74232b1ccd4c97ed641f1e48553853f1fd5 # v1.2.0 | |
| with: | |
| esp_idf_version: v5.5.4 | |
| target: esp32c6 | |
| path: bridge | |
| - name: Upload firmware artifact | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: crowlink-esp32c6 | |
| path: bridge/build/crowlink.bin |