Skip to content

Commit 208cc07

Browse files
joelittlejohnkipz
authored andcommitted
Add a GitHub Actions workflow for CI
1 parent c8d2569 commit 208cc07

File tree

4 files changed

+28
-7
lines changed

4 files changed

+28
-7
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
on: [push]
3+
jobs:
4+
clojure:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Cache local Maven repository
8+
uses: actions/cache@v2
9+
with:
10+
path: ~/.m2/repository
11+
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj') }}
12+
restore-keys: |
13+
${{ runner.os }}-maven-
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
- name: Prepare java
17+
uses: actions/setup-java@v1
18+
with:
19+
java-version: 1.8
20+
- name: Prepare leiningen
21+
uses: DeLaGuardo/setup-clojure@3.2
22+
with:
23+
lein: 2.9.5
24+
- name: Run all tests for all Clojure versions
25+
run: lein test-all
26+
shell: bash

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Faraday, the Clojure DynamoDB client [![Build Status](https://travis-ci.org/Taoensso/faraday.svg?branch=master)](https://travis-ci.org/Taoensso/faraday)
1+
# Faraday, the Clojure DynamoDB client [![Build Status](https://github.com/Taoensso/faraday/actions/workflows/ci.yml/badge.svg)](https://github.com/Taoensso/faraday/actions/workflows/ci.yml)
22

33
* [API Docs](http://taoensso.github.io/faraday/)
44
* Leiningen: `[com.taoensso/faraday "1.11.1"]`

TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- [x] Migrate to clojure.test
88
- [x] Release 1.10 GA
99
- [x] Update the Changelog for 1.10
10-
- [ ] Move from Travis CI to GitHub Actions
10+
- [x] Move from Travis CI to GitHub Actions
1111
- [ ] Add a GitHub Action for release
1212

1313
## Features

0 commit comments

Comments
 (0)