Skip to content

Commit

Permalink
add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed May 26, 2023
1 parent ad5c047 commit 9ebd84a
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test

on: [push]

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest] # macOS-latest, windows-latest]
java-version: ["8", "11", "17"]
clojure-version: ["1.10.3", "1.11.1"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: mvn -ntp -B -Dclojure.version=${{ matrix.clojure-version }} clean test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ To run the ClojureScript tests:

## License

Copyright © 2017-2022 Rich Hickey and contributors
Copyright © 2017-2023 Rich Hickey and contributors

Distributed under the Eclipse Public License, the same as Clojure.

Expand Down

0 comments on commit 9ebd84a

Please sign in to comment.