chore: bump actions/cache from 5.0.1 to 5.0.3 #109
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 | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: '0 22 * * 3' | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| env: | |
| WINE_BINARY: 'wine' | |
| strategy: | |
| matrix: | |
| node-version: | |
| - '22.12' | |
| os: | |
| - macos-latest | |
| - ubuntu-latest | |
| - windows-latest | |
| runs-on: "${{ matrix.os }}" | |
| steps: | |
| # rc-edit.exe does not support arm64 | |
| - name: Install Rosetta | |
| if: ${{ matrix.os == 'macos-latest' }} | |
| run: /usr/sbin/softwareupdate --install-rosetta --agree-to-license | |
| - name: Homebrew Cache | |
| if: ${{ matrix.os == 'macos-latest' }} | |
| uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 | |
| with: | |
| path: /usr/local/Homebrew | |
| key: v1-brew-cache-${{ matrix.os }} | |
| - name: Install OS Dependencies (Linux) | |
| if: ${{ matrix.os == 'ubuntu-latest' }} | |
| run: | | |
| sudo dpkg --add-architecture i386 | |
| sudo apt-get update | |
| sudo apt-get install --no-install-recommends -y wine64 wine32 wine | |
| - name: Install OS Dependencies (macOS) | |
| if: ${{ matrix.os == 'macos-latest' }} | |
| run: | | |
| brew install --cask xquartz | |
| brew install --cask --no-quarantine wine-stable | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 | |
| with: | |
| node-version: "${{ matrix.node-version }}" | |
| cache: 'yarn' | |
| - name: Install | |
| run: yarn install --immutable | |
| - name: Test | |
| run: yarn test |