Skip to content

Commit 8d44921

Browse files
committed
add workflows
1 parent 067bdb4 commit 8d44921

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Upstream Dispatch v2
2+
3+
# test build when upstream jackson modules are published
4+
5+
on:
6+
repository_dispatch:
7+
types: [jackson-databind-pushed]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
name: Build and Test on databind v2 changes
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout current branch (full)
16+
uses: actions/checkout@v5
17+
with:
18+
ref: 2.x
19+
fetch-depth: 0
20+
21+
- name: Setup sbt
22+
uses: sbt/setup-sbt@v1
23+
24+
- name: Setup Java (zulu@8)
25+
uses: actions/setup-java@v5
26+
with:
27+
distribution: zulu
28+
java-version: 8
29+
cache: sbt
30+
31+
- run: sbt -J-Xmx2G '++ 2.13' test
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Upstream Dispatch v3
2+
3+
# test build when upstream jackson modules are published
4+
5+
on:
6+
repository_dispatch:
7+
types: [jackson-databind-pushed-v3]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
name: Build and Test on databind v3 changes
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout current branch (full)
16+
uses: actions/checkout@v5
17+
with:
18+
ref: 3.x
19+
fetch-depth: 0
20+
21+
- name: Setup sbt
22+
uses: sbt/setup-sbt@v1
23+
24+
- name: Setup Java (zulu@17)
25+
uses: actions/setup-java@v5
26+
with:
27+
distribution: zulu
28+
java-version: 17
29+
cache: sbt
30+
31+
- run: sbt -J-Xmx2G '++ 2.13' test

0 commit comments

Comments
 (0)