Merge pull request #885 from MaplePrivacyLabs/codex-mono-agent-maple #60
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: Updater Worker Tests | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [master] | |
| paths: | |
| - ".github/workflows/updates-tests.yml" | |
| - "services/updates/**" | |
| - "scripts/ci/_common.sh" | |
| - "scripts/ci/updates.sh" | |
| - "flake.nix" | |
| - "flake.lock" | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - ".github/workflows/updates-tests.yml" | |
| - "services/updates/**" | |
| - "scripts/ci/_common.sh" | |
| - "scripts/ci/updates.sh" | |
| - "flake.nix" | |
| - "flake.lock" | |
| jobs: | |
| test-updates-worker: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # was v4 | |
| with: | |
| persist-credentials: false | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@ef8a148080ab6020fd15196c2084a2eea5ff2d25 # was v22 | |
| with: | |
| github-token: "" | |
| - name: Cache Bun dependencies | |
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # was v4 | |
| with: | |
| path: ~/.bun/install/cache | |
| key: ${{ runner.os }}-updates-bun-${{ hashFiles('services/updates/bun.lock') }} | |
| - name: Run updater Worker checks | |
| run: nix develop --no-update-lock-file .#ci -c ./scripts/ci/updates.sh |