Skip to content

Commit

Permalink
Merge pull request #331 from chrovis/fix/setup-lein-for-ci
Browse files Browse the repository at this point in the history
Explicitly install lein with setup-clojure for CI
  • Loading branch information
alumi authored Jan 7, 2025
2 parents 18f8cca + 6a504fc commit c5f3bb6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/project.clj') }}
restore-keys: |
${{ runner.os }}-m2-
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
architecture: x64
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@13.1
with:
lein: latest
- name: Install dependencies
run: lein deps
- name: Generate Coverage Report
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
java-version: '21'
distribution: 'temurin'
architecture: x64
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@13.1
with:
lein: latest
- name: Cache m2 repository
uses: actions/cache@v4
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
java-version: ${{ matrix.java }}
distribution: 'temurin'
architecture: x64
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@13.1
with:
lein: latest
- name: Cache m2 repository
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -49,6 +53,10 @@ jobs:
java-version: '8'
distribution: 'temurin'
architecture: x64
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@13.1
with:
lein: latest
- name: Deploy
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
Expand Down

0 comments on commit c5f3bb6

Please sign in to comment.