Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Setup Java and Clojure tools in the same way for all ci GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Juholei committed Nov 3, 2023
1 parent 439afe0 commit cd01b30
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@ jobs:
defaults:
run:
working-directory: ./etp-backend
container:
image: clojure:openjdk-17-tools-deps

steps:
- uses: actions/checkout@v3
- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@10.3
with:
cli: 1.11.1.1273
- name: Build
run: clojure -M:uberjar

Expand All @@ -25,11 +32,18 @@ jobs:
defaults:
run:
working-directory: ./etp-backend
container:
image: clojure:openjdk-17-tools-deps

steps:
- uses: actions/checkout@v3
- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@10.3
with:
cli: 1.11.1.1273
- name: Lint
run: clojure -M:lint --fail-level error

Expand Down

0 comments on commit cd01b30

Please sign in to comment.