Skip to content

Commit

Permalink
Setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
athos committed Jan 29, 2021
1 parent da3d880 commit 732dbf5
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Setup Clojure CLI
uses: DeLaGuardo/[email protected]
with:
tools-deps: latest
- name: Cache deps
uses: actions/cache@v2
with:
path: |
.cpcache
~/.m2
~/.gitlibs
key: ${{ runner.os }}-${{ hashFiles('deps.edn') }}
restore-keys: |
${{ runner.os }}-
- name: Install deps
run: |
clojure -A:check:test:coverage -P
- name: Run check
run: clojure -M:check
- name: Run tests
run: clojure -M:test

0 comments on commit 732dbf5

Please sign in to comment.