From 4d53a3bd888132ecdcaa88dbeeed7d55518d2c98 Mon Sep 17 00:00:00 2001 From: Carsten Behring Date: Wed, 8 May 2024 00:02:31 +0200 Subject: [PATCH 1/4] Create docker-image.yml --- .github/workflows/docker-image.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..a5f7f2b --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,26 @@ +name: Docker Image CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Run make ci-build in dev container + uses: devcontainers/ci@v0.3 + with: + # [Optional] If you have a separate workflow like the one above + # to pre-build your container image, you can reference it here + # to speed up your application build workflows as well! + #cacheFrom: ghcr.io/example/example-devcontainer + + push: never + runCmd: clj -X:test From cc6fc249dba2b9de529d196db6335d08d77087fe Mon Sep 17 00:00:00 2001 From: Carsten Behring Date: Wed, 8 May 2024 00:13:00 +0200 Subject: [PATCH 2/4] Update docker-image.yml --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index a5f7f2b..627c068 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,4 +1,4 @@ -name: Docker Image CI +name: Clojure CI on: push: From ade899aafd877922691d8ae38c4946b61b18c809 Mon Sep 17 00:00:00 2001 From: Carsten Behring Date: Wed, 8 May 2024 00:25:56 +0200 Subject: [PATCH 3/4] renamed --- .github/workflows/{docker-image.yml => ci.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{docker-image.yml => ci.yml} (100%) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/ci.yml similarity index 100% rename from .github/workflows/docker-image.yml rename to .github/workflows/ci.yml From 95371762d0cd1fb7e9b06adf17a1164bf288038c Mon Sep 17 00:00:00 2001 From: Carsten Behring Date: Wed, 8 May 2024 00:28:46 +0200 Subject: [PATCH 4/4] added build badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46ff5b3..a026c52 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![Clojars Project](https://img.shields.io/clojars/v/scicloj/clojisr.svg)](https://clojars.org/scicloj/clojisr) [![cljdoc badge](https://cljdoc.org/badge/scicloj/clojisr)](https://cljdoc.org/d/scicloj/clojisr) - +![example workflow](https://github.com/scicloj/clojisr/actions/workflows/ci.yml/badge.svg) # ClojisR Clojure speaks statistics - a [jisr](https://en.wiktionary.org/wiki/جسر) between Clojure and R