Add timeouts and retries to the Bot API page fetching #16
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: Clojure CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Git repo | |
| uses: actions/checkout@v5 | |
| - name: Cache dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-clojure-${{ hashFiles('**/deps.edn') }} | |
| restore-keys: | | |
| ${{ runner.os }}-clojure- | |
| - name: Prepare Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'adopt-hotspot' | |
| java-version: '21' | |
| - name: Install Clojure tools | |
| uses: DeLaGuardo/setup-clojure@13.4 | |
| with: | |
| cli: latest | |
| - name: Run CI task | |
| if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false }} | |
| env: | |
| BOT_AUTH_TOKEN: ${{ secrets.BOT_AUTH_TOKEN }} | |
| run: clojure -T:build ci |