Skip to content

Commit

Permalink
Migrate to GitHub Actions from Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
totakke committed Jan 17, 2024
1 parent a3264fd commit b124b25
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 19 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,27 @@
name: build

on: push

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'

- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@12.3
with:
lein: 2.10.0

- name: Run tests
run: lein with-profile +dev:+1.8:+1.9 test

- name: Run cljs tests
run: lein doo node test once
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -2,7 +2,7 @@

[![Clojars Project](https://img.shields.io/clojars/v/clj-sub-command.svg)](https://clojars.org/clj-sub-command)
[![cljdoc](https://cljdoc.xyz/badge/clj-sub-command)](https://cljdoc.xyz/jump/release/clj-sub-command)
[![Build Status](https://travis-ci.org/totakke/clj-sub-command.svg?branch=master)](https://travis-ci.org/totakke/clj-sub-command)
[![build](https://github.com/totakke/clj-sub-command/actions/workflows/build.yml/badge.svg)](https://github.com/totakke/clj-sub-command/actions/workflows/build.yml)

A simple subcommand parser for Clojure.

Expand Down Expand Up @@ -187,6 +187,6 @@ recommended for parsing the rest arguments.

## License

Copyright © 2013-2020 Toshiki Takeuchi
Copyright © 2013 Toshiki Takeuchi

Distributed under the [Eclipse Public License](LICENSE), the same as Clojure.

0 comments on commit b124b25

Please sign in to comment.