gradle-root: bump com.github.spotbugs from 5.1.4 to 5.2.0 in /samples/web-csr/dressca-backend #191
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# cSpell:ignore mikepenz dorny | |
name: バックエンドサンプルAPに対するプルリクエスト時の単体テスト実行 | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: [main] | |
paths: | |
- 'samples/web-csr/dressca-backend/**' | |
- '.github/workflows/back-sample-pull-request-ut.yml' | |
pull_request: | |
branches: [main] | |
paths: | |
- 'samples/web-csr/dressca-backend/**' | |
- '.github/workflows/back-sample-pull-request-ut.yml' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write | |
contents: read | |
steps: | |
- name: ブランチのチェックアウト | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: JDK17のセットアップ | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
cache: 'gradle' | |
- name: gradlewに実行権限付与 | |
run: chmod +x samples/web-csr/dressca-backend/gradlew | |
- name: ビルド(コンパイル, 静的テスト, JUnit)実行 | |
run: ./gradlew build | |
working-directory: ./samples/web-csr/dressca-backend | |
- name: JUnitレポート | |
uses: mikepenz/action-junit-report@v3 | |
with: | |
report_paths: '**/build/test-results/test/TEST-*.xml' | |
- name: Report | |
uses: dorny/test-reporter@v1 | |
if: always() | |
with: | |
name: Maven Tests | |
path: '**/build/test-results/test/TEST-*.xml' | |
reporter: java-junit | |
fail-on-error: true |