Skip to content

Commit 0ba982b

Browse files
committed
Replace Travis with GitHub Actions
1 parent ca2002c commit 0ba982b

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Tests
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v3
9+
10+
- name: Prepare java
11+
uses: actions/setup-java@v3
12+
with:
13+
distribution: 'zulu'
14+
java-version: '11'
15+
16+
- name: Install clojure tools
17+
uses: DeLaGuardo/setup-clojure@10.1
18+
with:
19+
lein: 2.9.10
20+
21+
- name: Cache clojure dependencies
22+
uses: actions/cache@v3
23+
with:
24+
path: ~/.m2/repository
25+
key: cljdeps-${{ hashFiles('project.clj') }}
26+
restore-keys: cljdeps-
27+
28+
- name: Run tests
29+
run: lein test-all

.travis.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# Ring-Codec
2-
3-
[![Build Status](https://app.travis-ci.com/ring-clojure/ring-codec.svg?branch=master)](https://app.travis-ci.com/ring-clojure/ring-codec)
1+
# Ring-Codec [![Build Status](https://github.com/ring-clojure/ring-codec/actions/workflows/test.yml/badge.svg)](https://github.com/ring-clojure/ring-codec/actions/workflows/test.yml)
42

53
Functions for encoding and decoding data into formats commonly used in
64
web applications.

0 commit comments

Comments
 (0)