Skip to content

feat: added handling of invalid transaction #875

feat: added handling of invalid transaction

feat: added handling of invalid transaction #875

name: Feature branch
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build project
run: mvn -s $GITHUB_WORKSPACE/.github/workflows/maven-settings.xml --batch-mode --update-snapshots clean package --file ./pom.xml
env:
GH_PACKAGES_USER_NAME: ${{ secrets.GH_PACKAGES_USER_NAME }}
GH_PACKAGES_ACCESS_TOKEN: ${{ secrets.GH_PACKAGES_ACCESS_TOKEN }}
- name: Checking style with Spotless plugin
run: mvn spotless:check --file ./api/pom.xml
- name: Test project
run: mvn -s $GITHUB_WORKSPACE/.github/workflows/maven-settings.xml --batch-mode --update-snapshots clean verify --file ./pom.xml
env:
GH_PACKAGES_USER_NAME: ${{ secrets.GH_PACKAGES_USER_NAME }}
GH_PACKAGES_ACCESS_TOKEN: ${{ secrets.GH_PACKAGES_ACCESS_TOKEN }}