Skip to content

Commit 9ebd84a

Browse files
committed
add workflows
1 parent ad5c047 commit 9ebd84a

File tree

4 files changed

+50
-1
lines changed

4 files changed

+50
-1
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release on demand
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
releaseVersion:
7+
description: "Version to release"
8+
required: true
9+
snapshotVersion:
10+
description: "Snapshot version after release"
11+
required: true
12+
13+
jobs:
14+
call-release:
15+
uses: clojure/build.ci/.github/workflows/release.yml@master
16+
with:
17+
releaseVersion: ${{ github.event.inputs.releaseVersion }}
18+
snapshotVersion: ${{ github.event.inputs.snapshotVersion }}
19+
secrets: inherit

.github/workflows/snapshot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Snapshot on demand
2+
3+
on: [workflow_dispatch]
4+
5+
jobs:
6+
call-snapshot:
7+
uses: clojure/build.ci/.github/workflows/snapshot.yml@master
8+
secrets: inherit

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Test
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
strategy:
8+
matrix:
9+
os: [ubuntu-latest] # macOS-latest, windows-latest]
10+
java-version: ["8", "11", "17"]
11+
clojure-version: ["1.10.3", "1.11.1"]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Set up Java
16+
uses: actions/setup-java@v3
17+
with:
18+
java-version: ${{ matrix.java-version }}
19+
distribution: 'temurin'
20+
cache: 'maven'
21+
- name: Build with Maven
22+
run: mvn -ntp -B -Dclojure.version=${{ matrix.clojure-version }} clean test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ To run the ClojureScript tests:
5959

6060
## License
6161

62-
Copyright © 2017-2022 Rich Hickey and contributors
62+
Copyright © 2017-2023 Rich Hickey and contributors
6363

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

0 commit comments

Comments
 (0)