Update dependency prettier to v3.7.3 #2594
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: Check | |
| on: | |
| pull_request: ~ | |
| push: | |
| branches: | |
| - main | |
| - v0 | |
| permissions: read-all | |
| jobs: | |
| build: | |
| name: Build with ${{ matrix.engine }} | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| engine: | |
| - docker | |
| - podman | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Build | |
| env: | |
| ENGINE: ${{ matrix.engine }} | |
| run: make build "ENGINE=${ENGINE}" | |
| check: | |
| name: ${{ matrix.what }} | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| what: | |
| - ci | |
| - formatting | |
| - image | |
| - md | |
| - yml | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install Node.js | |
| uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 | |
| with: | |
| cache: npm | |
| node-version-file: .nvmrc | |
| - name: Install asdf | |
| uses: asdf-vm/actions/setup@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0 | |
| - name: Configure asdf plugins | |
| run: | | |
| asdf plugin add diffoci https://github.com/ericcornelissen/asdf-diffoci | |
| - name: Install tooling | |
| uses: asdf-vm/actions/install@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0 | |
| - name: Check | |
| env: | |
| WHAT: ${{ matrix.what }} | |
| run: make "check-${WHAT}" | |
| codeql: | |
| name: CodeQL (actions) | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| security-events: write # To upload CodeQL results | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0 | |
| with: | |
| config-file: ./.github/codeql.yml | |
| languages: actions | |
| - name: Perform CodeQL analysis | |
| uses: github/codeql-action/analyze@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0 | |
| licenses: | |
| name: Licenses | |
| runs-on: ubuntu-24.04 | |
| needs: | |
| - build | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install Node.js | |
| uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 | |
| with: | |
| cache: npm | |
| node-version-file: .nvmrc | |
| - name: Install asdf | |
| uses: asdf-vm/actions/setup@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0 | |
| - name: Configure asdf plugins | |
| run: | | |
| asdf plugin add diffoci https://github.com/ericcornelissen/asdf-diffoci | |
| - name: Install tooling | |
| uses: asdf-vm/actions/install@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0 | |
| - name: Check container image licenses | |
| if: ${{ failure() || success() }} | |
| run: make check-licenses-image | |
| - name: Check npm licenses | |
| if: ${{ failure() || success() }} | |
| run: make check-licenses-npm | |
| semgrep: | |
| name: Semgrep | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| security-events: write # To upload SARIF results | |
| container: | |
| image: semgrep/semgrep | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Perform Semgrep analysis | |
| run: semgrep --sarif --output semgrep.sarif | |
| - name: Upload Semgrep report to GitHub | |
| uses: github/codeql-action/upload-sarif@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0 | |
| if: ${{ failure() || success() }} | |
| with: | |
| sarif_file: semgrep.sarif | |
| reproducible-build: | |
| name: Reproducible build | |
| runs-on: ubuntu-24.04 | |
| needs: | |
| - build | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install asdf | |
| uses: asdf-vm/actions/setup@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0 | |
| - name: Configure asdf plugins | |
| run: | | |
| asdf plugin add diffoci https://github.com/ericcornelissen/asdf-diffoci | |
| - name: Install tooling | |
| uses: asdf-vm/actions/install@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0 | |
| - name: Check reproducibility | |
| run: make reproducible-build | |
| test: | |
| name: Test with ${{ matrix.engine }} | |
| runs-on: ubuntu-24.04 | |
| needs: | |
| - build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| engine: | |
| - docker | |
| - podman | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| persist-credentials: false | |
| submodules: true | |
| - name: Install Node.js | |
| uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 | |
| with: | |
| cache: npm | |
| node-version-file: .nvmrc | |
| - name: Test | |
| env: | |
| ENGINE: ${{ matrix.engine }} | |
| run: make test "ENGINE=${ENGINE}" |