Skip to content

feat: Add leetcode problem and solve using sorting #122

feat: Add leetcode problem and solve using sorting

feat: Add leetcode problem and solve using sorting #122

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ "main" ]
paths-ignore:
- 'docs/**'
pull_request:
branches: [ "main" ]
paths-ignore:
- 'docs/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Print directory structure
run: ls -R
- name: Build with Maven
run: mvn -B package --file JavaDsaWithTest/pom.xml
- name: Run tests
run: mvn test --file JavaDsaWithTest/pom.xml