Bump astral-sh/setup-uv from 8.2.0 to 9.0.0 #45
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: mpak Validate | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e | |
| with: | |
| node-version: "22" | |
| cache: "npm" | |
| - name: Install CycloneDX 1.6 SBOM generator | |
| run: | | |
| set -euo pipefail | |
| curl -fsSL \ | |
| https://github.com/anchore/syft/releases/download/v1.29.1/syft_1.29.1_linux_amd64.tar.gz \ | |
| -o /tmp/syft.tar.gz | |
| echo "ca704907e5a7b697c6e683832ca128e2ae60de63d7d87f3e2e39672df9038fa4 /tmp/syft.tar.gz" \ | |
| | sha256sum -c - | |
| tar -xzf /tmp/syft.tar.gz -C /tmp syft | |
| sudo install -m 0755 /tmp/syft /usr/local/bin/syft | |
| - name: Install root dependencies | |
| run: npm ci --ignore-scripts | |
| - name: Audit root dependencies | |
| run: npm audit --audit-level=moderate | |
| - name: Run root test suite | |
| run: npm test | |
| - name: Prepare isolated mpak package | |
| run: node scripts/prepare-mpak-package.mjs | |
| - name: Generate bundled SBOM | |
| run: node scripts/generate-mpak-sbom.mjs | |
| - name: Validate mpak bundle build | |
| id: build_bundle | |
| uses: NimbleBrainInc/mcpb-pack@e74c82722fa4b954ce7740f875d6c437ae471df6 | |
| with: | |
| directory: artifacts/mpak-package | |
| upload: false | |
| announce: false | |
| platform-os: any | |
| platform-arch: any | |
| - name: Finalize mpak bundle metadata | |
| run: >- | |
| node scripts/finalize-mpak-bundle.mjs | |
| "artifacts/mpak-package/${{ steps.build_bundle.outputs.bundle-path }}" | |
| "artifacts/mpak-package" |