Skip to content

Add CardNumberService validation and tests #26

Add CardNumberService validation and tests

Add CardNumberService validation and tests #26

Workflow file for this run

name: Maven build
on:
push:
branches: [ "main" ]
paths-ignore:
- README.md
pull_request:
branches: [ "main" ]
paths-ignore:
- README.md
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 8, 11, 17, 21 ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}