-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from pmonks/dev
- Loading branch information
Showing
6 changed files
with
51 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,19 +16,27 @@ jobs: | |
if: ${{ needs.skip_check.outputs.should_skip != 'true' }} | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
java-version: [ 8, 11, 17 ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Java LTS | ||
uses: actions/setup-java@v2 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 11 | ||
|
||
- name: Install Clojure CLI | ||
uses: DeLaGuardo/[email protected] | ||
java-version: ${{ matrix.java-version }} | ||
- uses: DeLaGuardo/[email protected] | ||
with: | ||
tools-deps: latest | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.m2/repository | ||
~/.gitlibs | ||
~/.clojure | ||
~/.cpcache | ||
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }} | ||
|
||
- name: Run CI checks | ||
run: clojure -Srepro -J-Dclojure.main.report=stderr -T:build ci |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,17 +13,21 @@ jobs: | |
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 # Make sure we get the full history, or else the version number gets screwed up | ||
|
||
- name: Install Java LTS | ||
uses: actions/setup-java@v2 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 11 | ||
|
||
- name: Install Clojure CLI | ||
uses: DeLaGuardo/[email protected] | ||
java-version: 17 | ||
- uses: DeLaGuardo/[email protected] | ||
with: | ||
tools-deps: latest | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.m2/repository | ||
~/.gitlibs | ||
~/.clojure | ||
~/.cpcache | ||
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }} | ||
|
||
- name: Build JAR and deploy to Clojars | ||
env: | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,17 +10,21 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Java LTS | ||
uses: actions/setup-java@v2 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 11 | ||
|
||
- name: Install Clojure CLI | ||
uses: DeLaGuardo/[email protected] | ||
java-version: 17 | ||
- uses: DeLaGuardo/[email protected] | ||
with: | ||
tools-deps: latest | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.m2/repository | ||
~/.gitlibs | ||
~/.clojure | ||
~/.cpcache | ||
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }} | ||
|
||
- name: Generate docs | ||
run: clojure -Srepro -J-Dclojure.main.report=stderr -T:build docs | ||
|
This file contains 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
This file contains 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