Matrix-Core Infinite Runner #3
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: Matrix-Core Infinite Runner | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 */5 * * *' | |
| concurrency: | |
| group: matrix-core-group | |
| cancel-in-progress: false | |
| jobs: | |
| run-bot: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 360 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Install Stockfish | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y stockfish | |
| - name: Install Python Dependencies | |
| run: pip install python-chess requests groq | |
| - name: Execute Matrix-Core | |
| env: | |
| LICHESS_TOKEN: ${{ secrets.LICHESS_TOKEN }} | |
| GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }} | |
| run: python app.py |