Skip to content

Commit

Permalink
update ci yml
Browse files Browse the repository at this point in the history
  • Loading branch information
suvash committed Jan 16, 2025
1 parent 51d1d18 commit 09b2fa6
Showing 1 changed file with 21 additions and 23 deletions.
44 changes: 21 additions & 23 deletions .github/workflows/clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,39 @@ name: Clojure CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:

tests:

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java: ['8', '11', '16', '17']
os: [ubuntu-latest, macos-latest]
java: ["8", "11", "16", "17", "21"]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4

- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Prepare java
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: ${{ matrix.java }}

- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@9.5
with:
lein: latest # Leiningen
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@13.0
with:
lein: latest # Leiningen

- name: Get leiningen version
run: lein version
- name: Get leiningen version
run: lein version

- name: Install dependencies
run: lein deps
- name: Install dependencies
run: lein deps

- name: Run tests
run: lein all test
- name: Run tests
run: lein all test

0 comments on commit 09b2fa6

Please sign in to comment.