Skip to content

Commit

Permalink
change crlf to lf
Browse files Browse the repository at this point in the history
  • Loading branch information
nisrael committed Jan 15, 2024
1 parent 2741852 commit 1c5c381
Show file tree
Hide file tree
Showing 79 changed files with 2,262 additions and 2,262 deletions.
16 changes: 8 additions & 8 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
root = true

[*]
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline=true
indent_style=space
indent_size=2
root = true

[*]
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline=true
indent_style=space
indent_size=2
18 changes: 9 additions & 9 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.git
.idea
dist
node_modules
target
**/src/main/resources
**/src/test/resources
**/src/main/java
**/src/test/java
.git
.idea
dist
node_modules
target
**/src/main/resources
**/src/test/resources
**/src/main/java
**/src/test/java
12 changes: 6 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
extends: '@eclipse-scout',
rules: {
'linebreak-style': 'off'
}
};
module.exports = {
extends: '@eclipse-scout',
rules: {
'linebreak-style': 'off'
}
};
116 changes: 58 additions & 58 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
name: build, package and deploy java parts

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
DOCKER_REGISTRY: ghcr.io
DOCKER_IMAGE_NAME: ${{ github.repository }}
DOCKER_TAG: ${{ github.sha }}
CI: true

jobs:
build-and-push-image:
runs-on: ubuntu-latest

permissions:
checks: write
contents: read
packages: write

strategy:
matrix:
java-version: [ 17 ]

steps:
- uses: actions/checkout@v3

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven

- run: mvn -B verify --fail-at-end --no-transfer-progress --file pom.xml

- name: Publish Unit Test Report
if: success() || failure()
uses: scacap/action-surefire-report@v1

# push image except on PR
- run: docker push ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_TAG }}
if: github.event_name != 'pull_request'



name: build, package and deploy java parts

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
DOCKER_REGISTRY: ghcr.io
DOCKER_IMAGE_NAME: ${{ github.repository }}
DOCKER_TAG: ${{ github.sha }}
CI: true

jobs:
build-and-push-image:
runs-on: ubuntu-latest

permissions:
checks: write
contents: read
packages: write

strategy:
matrix:
java-version: [ 17 ]

steps:
- uses: actions/checkout@v3

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven

- run: mvn -B verify --fail-at-end --no-transfer-progress --file pom.xml

- name: Publish Unit Test Report
if: success() || failure()
uses: scacap/action-surefire-report@v1

# push image except on PR
- run: docker push ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_TAG }}
if: github.event_name != 'pull_request'



Loading

0 comments on commit 1c5c381

Please sign in to comment.