chore(deps): update pnpm to v12 #3945
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: Test use-mise | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| pre-job: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| outputs: | |
| should_run: ${{ steps.check.outputs.should_run }} | |
| steps: | |
| - name: Check what should run | |
| id: check | |
| uses: immich-app/devtools/actions/pre-job@75493d49052d536863fc96100086782c5279b145 # pre-job-action-v2.1.1 | |
| with: | |
| github-token: ${{ github.token }} | |
| filters: | | |
| use_mise: | |
| - 'actions/use-mise/**' | |
| force-filters: | | |
| - '.github/workflows/test-use-mise.yml' | |
| - '.mise/**' | |
| test-use-mise: | |
| name: Test use-mise (${{ matrix.os }}, ${{ matrix.arch }}) | |
| needs: pre-job | |
| if: ${{ fromJSON(needs.pre-job.outputs.should_run).use_mise == true }} | |
| runs-on: ${{ matrix.runner }} | |
| permissions: | |
| contents: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: Linux | |
| arch: X64 | |
| runner: ubuntu-latest | |
| - os: Linux | |
| arch: ARM64 | |
| runner: ubuntu-24.04-arm | |
| - os: macOS | |
| arch: ARM64 | |
| runner: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Use Mise | |
| uses: ./actions/use-mise | |
| with: | |
| github_token: ${{ github.token }} | |
| - name: Verify github_token was forwarded to mise-action | |
| run: | | |
| if [ -z "${MISE_GITHUB_TOKEN:-}" ]; then | |
| echo "::error::MISE_GITHUB_TOKEN is unset — use-mise did not forward github_token to jdx/mise-action" | |
| exit 1 | |
| fi | |
| - name: Verify mise version matches pinned version | |
| run: | | |
| expected=$(yq '(.runs.steps[] | select(.uses | test("^jdx/mise-action"))).with.version' actions/use-mise/action.yml) | |
| actual=$(mise --version | awk '{print $1}') | |
| echo "Expected: $expected" | |
| echo "Actual: $actual" | |
| if [ "$expected" != "$actual" ]; then | |
| echo "::error::mise version mismatch: expected $expected, got $actual" | |
| exit 1 | |
| fi | |
| success-check: | |
| name: Test use-mise Success | |
| needs: [test-use-mise] | |
| permissions: {} | |
| runs-on: ubuntu-latest | |
| if: always() | |
| steps: | |
| - uses: immich-app/devtools/actions/success-check@81113db03f6d743efee81e0058c0b43f6cd6f36d # success-check-action-v0.0.6 | |
| with: | |
| needs: ${{ toJSON(needs) }} |