From bb5885b8417c493cf7fb3d7f9544c3565f16370e Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Fri, 26 May 2023 15:51:36 -0500 Subject: [PATCH] add workflows --- .github/workflows/release.yml | 19 +++++++++++++++++++ .github/workflows/snapshot.yml | 8 ++++++++ .github/workflows/test.yml | 7 +++++++ README.md | 5 ++--- 4 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/snapshot.yml create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e2718bd --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,19 @@ +name: Release on demand + +on: + workflow_dispatch: + inputs: + releaseVersion: + description: "Version to release" + required: true + snapshotVersion: + description: "Snapshot version after release" + required: true + +jobs: + call-release: + uses: clojure/build.ci/.github/workflows/release.yml@master + with: + releaseVersion: ${{ github.event.inputs.releaseVersion }} + snapshotVersion: ${{ github.event.inputs.snapshotVersion }} + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml new file mode 100644 index 0000000..2472957 --- /dev/null +++ b/.github/workflows/snapshot.yml @@ -0,0 +1,8 @@ +name: Snapshot on demand + +on: [workflow_dispatch] + +jobs: + call-snapshot: + uses: clojure/build.ci/.github/workflows/snapshot.yml@master + secrets: inherit diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..1fa127c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,7 @@ +name: Test + +on: [push] + +jobs: + call-test: + uses: clojure/build.ci/.github/workflows/test.yml@master diff --git a/README.md b/README.md index 07dfb01..511a007 100644 --- a/README.md +++ b/README.md @@ -73,8 +73,7 @@ Developer Information * [GitHub project](https://github.com/clojure/tools.reader) * [Bug Tracker](https://clojure.atlassian.net/browse/TRDR) -* [Continuous Integration](https://build.clojure.org/job/tools.reader/) -* [Compatibility Test Matrix](https://build.clojure.org/job/tools.reader-test-matrix/) +* [Continuous Integration](https://github.com/clojure/tools.reader/actions/workflows/test.yml) Example Usage ======================================== @@ -176,6 +175,6 @@ There are small differences from clojure.lang.LispReader: ## License -Copyright © 2013-2018 Nicola Mometto, Rich Hickey & contributors. +Copyright © 2013-2023 Nicola Mometto, Rich Hickey & contributors. Licensed under the EPL. (See the file epl.html.)