rank #78
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: rank | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| count: | |
| description: "Tokens per tab per cycle" | |
| required: false | |
| default: "50" | |
| schedule: | |
| # Every hour, on the hour | |
| - cron: "0 * * * *" | |
| concurrency: | |
| group: rank-core | |
| cancel-in-progress: false | |
| jobs: | |
| rank: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - agent: blade | |
| secret: PUMP_STUDIO_API_KEY | |
| tabs: "all,live" | |
| - agent: intern | |
| secret: PUMP_STUDIO_API_KEY_2 | |
| tabs: "new,graduated" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run ${{ matrix.agent }} | |
| run: npm run rank | |
| env: | |
| PUMP_STUDIO_API_KEY: ${{ secrets[matrix.secret] }} | |
| RANK_COUNT: ${{ inputs.count || '50' }} | |
| TABS: ${{ matrix.tabs }} | |
| COOLDOWN_MS: "6000" | |
| MAX_RUNTIME_MS: "3300000" | |
| PAPER_TRADE: "1" |