Skip to content

Commit 80a18e4

Browse files
committed
build
1 parent 6bef689 commit 80a18e4

File tree

2 files changed

+34
-7
lines changed

2 files changed

+34
-7
lines changed

.github/workflows/build.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Cache project dependencies
18+
uses: actions/cache@v4
19+
with:
20+
path: ~/.m2/repository
21+
key: ${{ runner.os }}-clojure-${{ hashFiles('**/project.clj') }}
22+
restore-keys: |
23+
${{ runner.os }}-clojure
24+
- name: Prepare java
25+
uses: actions/setup-java@v4
26+
with:
27+
distribution: 'temurin'
28+
java-version: 21
29+
- name: Install clojure tools
30+
uses: DeLaGuardo/[email protected]
31+
with:
32+
lein: latest
33+
- run: sudo redis-server /etc/redis/redis.conf --port 6380
34+
- run: lein test

.travis.yml

-7
This file was deleted.

0 commit comments

Comments
 (0)