Skip to content

Commit 1cf6cd4

Browse files
build: added github actions
1 parent b1c4c81 commit 1cf6cd4

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI Pipeline
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
- name: Set up JDK 23
19+
uses: actions/setup-java@v4
20+
with:
21+
java-version: 23
22+
distribution: 'temurin'
23+
- name: Build with Maven Wrapper
24+
run: ./mvnw -B compile

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
![GitHub Workflow Status (with branch)](https://img.shields.io/github/actions/workflow/status/claudioaltamura/java-java23/ci.yml?branch=main)
2+
3+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4+
15
# java-java23
26
Java 23 feature examples
37

0 commit comments

Comments
 (0)