Add Github build.yml

This commit is contained in:
Peter Taoussanis 2020-09-20 12:05:37 +02:00
parent 9600e8c4cd
commit 6b855b22bb
2 changed files with 27 additions and 0 deletions

25
.github/workflows/build.yml vendored Normal file
View file

@ -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

View file

@ -8,6 +8,8 @@
[com.taoensso/nippy "2.15.3"] ; BREAKING, see CHANGELOG for details
```
<!-- ![build status](https://github.com/ptaoussanis/nippy/workflows/build/badge.svg?branch=master) -->
> See [here](https://taoensso.com/clojure/backers) if you're interested in helping support my open-source work, thanks! - Peter Taoussanis
## _SECURITY ADVISORY_