Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/maven-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Java CI with Maven

on:
push:
branches: [ "main", "master" ] # Adjust if your main branch has a different name
pull_request:
branches: [ "main", "master" ] # Adjust if your main branch has a different name

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml # -B batch mode, package runs tests
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# QR-code Generator and Reader

[![Java CI with Maven](https://github.com/thecoder8890/spring-boot-qr-code-generator-reader-api/actions/workflows/maven-ci.yml/badge.svg)](https://github.com/thecoder8890/spring-boot-qr-code-generator-reader-api/actions/workflows/maven-ci.yml)

## Application used [Java 17](https://onurdesk.com/what-are-preview-features-in-java-17/) and Spring Boot 3.5.0 | [Onurdesk](https://onurdesk.com/)

###### Spring boot application exposing REST API endpoint to genrate QR-code representing custom message and another endpoint to read the decoded message, built using Java, [Spring Boot 3.5.0](https://spring.io/projects/spring-boot/) and [google's zxing library](https://opensource.google/projects/zxing).
Expand Down