From 6b855b22bb6b3e740090cd926aae345afc4c2564 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Sun, 20 Sep 2020 12:05:37 +0200 Subject: [PATCH] Add Github build.yml --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3edb0f1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: build + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 14 + + - name: Cache deps + uses: actions/cache@v1 + id: cache-deps + with: + path: ~/.m2/repository + key: ${{ runner.os }}-java14-${{ hashFiles('project.clj') }} + restore-keys: | + ${{ runner.os }}-java14- + + - name: Run tests for Java 14 + run: | + lein test diff --git a/README.md b/README.md index c518eaa..b46591b 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ [com.taoensso/nippy "2.15.3"] ; BREAKING, see CHANGELOG for details ``` + + > See [here](https://taoensso.com/clojure/backers) if you're interested in helping support my open-source work, thanks! - Peter Taoussanis ## _SECURITY ADVISORY_