Skip to content

Commit b0680d9

Browse files
committed
Canonicalize central CI caller shape
1 parent fdd5f6e commit b0680d9

1 file changed

Lines changed: 6 additions & 29 deletions

File tree

.github/workflows/maven-ci.yml

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,13 @@
11
name: Maven CI
2-
32
on:
43
push:
5-
branches:
6-
- '**'
4+
branches: ['**']
75
pull_request:
8-
96
permissions:
107
contents: read
11-
128
jobs:
13-
verify:
14-
runs-on: ubuntu-latest
15-
16-
strategy:
17-
fail-fast: false
18-
matrix:
19-
java-version: ['17', '21']
20-
21-
steps:
22-
- name: Checkout
23-
uses: actions/checkout@v4
24-
25-
- name: Set up JDK ${{ matrix.java-version }}
26-
uses: actions/setup-java@v4
27-
with:
28-
distribution: temurin
29-
java-version: ${{ matrix.java-version }}
30-
cache: maven
31-
32-
- name: Run tests
33-
run: mvn -B test
34-
35-
- name: Build package
36-
run: mvn -B package
9+
ci:
10+
# Pin to the floating major tag @v1 to auto-receive security re-pins; immutable tags (e.g. v1.1.0) remain available for strict pinning.
11+
uses: UltiKits/ci-workflows/.github/workflows/maven-ci.yml@v1
12+
with:
13+
needs-nms: false

0 commit comments

Comments
 (0)