Skip to content

Add timeouts and retries to the Bot API page fetching #16

Add timeouts and retries to the Bot API page fetching

Add timeouts and retries to the Bot API page fetching #16

Workflow file for this run

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