Skip to content

Commit

Permalink
Add Github build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Sep 20, 2020
1 parent 9600e8c commit 6b855b2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand Down

0 comments on commit 6b855b2

Please sign in to comment.