Enforce alwaysUv on getAssertion #666
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
| # For most projects, this workflow file will not need changing; you simply need | |
| # to commit it to your repository. | |
| # | |
| # You may wish to alter this file to override the set of languages analyzed, | |
| # or to provide custom queries or build logic. | |
| # | |
| # ******** NOTE ******** | |
| # We have attempted to detect the languages in your repository. Please check | |
| # the `language` matrix defined below to confirm you have the correct set of | |
| # supported CodeQL languages. | |
| # | |
| name: "Emulation and test" | |
| on: | |
| push: | |
| branches: [ "main", "development", "eddsa" ] | |
| pull_request: | |
| # The branches below must be a subset of the branches above | |
| branches: [ "main", "development", "eddsa" ] | |
| schedule: | |
| - cron: '23 5 * * 4' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository and submodules | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| persist-credentials: false | |
| - name: Checkout legacy firmware and submodules | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: 43cf570ac3ba4ad8a40685d4bf2c7ccb8d43b2fa | |
| path: legacy | |
| submodules: recursive | |
| persist-credentials: false | |
| - name: Build in container | |
| run: ./tests/build-in-docker.sh | |
| - name: Build legacy emulator in container | |
| run: ./tests/build-legacy-in-docker.sh | |
| - name: Validate Vault test secrets | |
| env: | |
| PICO_FIDO_VAULT_ENROLLMENT_JSON: ${{ secrets.PICO_FIDO_VAULT_ENROLLMENT_JSON }} | |
| PICO_FIDO_VAULT_PASSPHRASE: ${{ secrets.PICO_FIDO_VAULT_PASSPHRASE }} | |
| run: | | |
| test -n "$PICO_FIDO_VAULT_ENROLLMENT_JSON" || { echo "PICO_FIDO_VAULT_ENROLLMENT_JSON is required." >&2; exit 1; } | |
| test -n "$PICO_FIDO_VAULT_PASSPHRASE" || { echo "PICO_FIDO_VAULT_PASSPHRASE is required." >&2; exit 1; } | |
| - name: Start emulation and test | |
| env: | |
| PICO_FIDO_VAULT_ENROLLMENT_JSON: ${{ secrets.PICO_FIDO_VAULT_ENROLLMENT_JSON }} | |
| PICO_FIDO_VAULT_PASSPHRASE: ${{ secrets.PICO_FIDO_VAULT_PASSPHRASE }} | |
| run: ./tests/run-test-in-docker.sh | |
| - name: Test legacy flash compatibility | |
| run: ./tests/run-test-041-in-docker.sh | |
| - name: Test silent authentication after restart | |
| run: ./tests/run-test-042-in-docker.sh |