Skip to content

Commit 4abbe8c

Browse files
authored
Merge pull request #5 from vitruv-tools/basic-ci
add basic CI workflow
2 parents a3238c2 + 11dbff4 commit 4abbe8c

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @vitruv-tools/maintainers

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: maven
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
commit-message:
8+
prefix: "Maven"
9+
include: "scope"
10+
- package-ecosystem: "github-actions"
11+
directory: "/"
12+
schedule:
13+
interval: "daily"
14+
commit-message:
15+
prefix: "GitHub Actions"
16+
include: "scope"

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
# workflow triggers
4+
on:
5+
# manually
6+
workflow_dispatch:
7+
# PRs on `main`
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
verify:
14+
name: Verify build on ${{ matrix.os }}
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
os: [ubuntu-latest, windows-latest, macOS-latest]
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v4.2.2
24+
25+
- name: Setup Java and Maven cache
26+
uses: actions/setup-java@v4.6.0
27+
with:
28+
distribution: 'temurin'
29+
java-version: '17'
30+
check-latest: true
31+
cache: 'maven'
32+
33+
- name: Verify build
34+
run: >
35+
./mvnw clean verify
36+
--batch-mode
37+
--update-snapshots
38+
--no-transfer-progress

0 commit comments

Comments
 (0)