Skip to content

Commit bcce904

Browse files
committed
Replace Travis CI with GitHub Actions
1 parent 75593a2 commit bcce904

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

.github/workflows/test.yml

+29
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/[email protected]
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', 'ring-*/project.clj') }}
26+
restore-keys: cljdeps-
27+
28+
- name: Run tests
29+
run: lein test-all

README.md

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

53
Ring middleware for parsing common request headers, and for adding and
64
manipulating common response headers.

0 commit comments

Comments
 (0)