Skip to content

Commit

Permalink
Merge pull request #2 from liquidz/dev
Browse files Browse the repository at this point in the history
ver 0.2.0
  • Loading branch information
liquidz committed May 6, 2020
2 parents 53914cf + 0f427c9 commit 46123a2
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 12 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: dependencies
on: [push]
jobs:
antq:
runs-on: ubuntu-latest
container:
image: uochan/antq
steps:
- uses: actions/checkout@v2.1.0
- run: java -jar /tmp/antq/antq.jar
10 changes: 2 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@ on: [push]
jobs:
clj-kondo:
runs-on: ubuntu-latest
# container:
# image: borkdude/clj-kondo
# steps:
# - uses: actions/checkout@v2
# - name: lint by clj-kondo
# run: clj-kondo --lint src:test
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.1.0
# c.f. https://github.com/borkdude/clj-kondo/blob/master/doc/ci-integration.md#linter-output-integration
- name: Lint by clj-kondo
run: docker run --rm -v $(pwd):/tmp/work -w /tmp/work borkdude/clj-kondo clj-kondo --lint src:test --config '{:output {:pattern "::{{level}} file={{filename}},line={{row}},col={{col}}::{{message}}"}}'

cljstyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.1.0
- run: |
curl -sfLo cljstyle.tar.gz https://github.com/greglook/cljstyle/releases/download/0.12.0/cljstyle_0.12.0_linux.tar.gz
tar xvf cljstyle.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
container:
image: clojure:openjdk-14-tools-deps
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.1.0
- name: Cache m2
uses: actions/cache@v1.1.0
uses: actions/cache@v1.1.2
with:
path: /root/.m2
key: root-m2-${{ hashFiles('deps.edn') }}
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ All notable changes to this project will be documented in this file. This change

== Unreleased (dev)

== 0.2.0 (2020-05-06)
// {{{
=== Added
* Added support for GitHub Actions.
// }}}

== 0.1.0 (2020-05-06)
// {{{
Expand Down
11 changes: 10 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
= antq
= Antq

Point out your outdated dependencies.

image:https://github.com/liquidz/antq/workflows/test/badge.svg["GitHub Actions for test workflow", link="https://github.com/liquidz/antq/actions?query=workflow%3Atest"]
image:https://github.com/liquidz/antq/workflows/lint/badge.svg["GitHub Actions for lint workflow", link="https://github.com/liquidz/antq/actions?query=workflow%3Alint"]
image:https://github.com/liquidz/antq/workflows/dependencies/badge.svg["GitHub Actions for dependencies workflow", link="https://github.com/liquidz/antq/actions?query=workflow%3Adependencies"]
image:https://img.shields.io/clojars/v/antq.svg["Clojars Project", link="https://clojars.org/antq"]
image:https://img.shields.io/badge/docker-automated-blue["Docker Hub", link="https://hub.docker.com/repository/docker/uochan/antq"]

== Supported files

Expand Down Expand Up @@ -44,6 +46,13 @@ Add following dependency and alias to your `$HOME/.lein/profiles.clj`.
----
Then, run `lein outdated`.

=== GitHub Actions

Antq can work with https://github.com/features/actions[GitHub Actions].
See antq's workflow for concrete example.

* https://github.com/liquidz/antq/blob/master/.github/workflows/dependencies.yml[.github/workflows/dependencies.yml]

== License

Copyright © 2020 https://twitter.com/uochan[Masashi Iizuka]
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>antq</groupId>
<artifactId>antq</artifactId>
<version>0.1.0</version>
<version>0.2.0</version>
<name>antq</name>
<description>Point out your outdated dependencies</description>
<url>https://github.com/liquidz/antq</url>
Expand Down

0 comments on commit 46123a2

Please sign in to comment.