Skip to content

Commit

Permalink
(#42) CI: migrate to Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Aug 19, 2021
1 parent e38853e commit f5deb38
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true

[*.clj]
[*.{clj,yml}]
indent_size = 2
20 changes: 15 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,20 @@ jobs:
distribution: adopt
java-version: 8

- name: Set up Clojure
uses: DeLaGuardo/setup-clojure@3.5
- name: Cache Gradle packages
uses: actions/cache@v2
with:
lein: 2.9.6
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}

- name: Test
run: lein test
- name: Build
run: ./gradlew build

- name: Upload test results
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}.test-reports
path: build/reports/tests

0 comments on commit f5deb38

Please sign in to comment.