Skip to content

Commit

Permalink
Fix Markfown, add Codacy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalijr2 committed Nov 11, 2024
1 parent c91e4ba commit 90de7b8
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 15 deletions.
74 changes: 74 additions & 0 deletions .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: "Codacy"

on:
push:
branches: [ "**" ]
tags-ignore:
- v*
pull_request:
# The branches below must be a subset of the branches above
branches: [ "**" ]

permissions: read-all

jobs:
build:
name: Maven build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
- name: Build with Maven
run: ./mvnw --batch-mode
- name: Temporarily save target and test requests
uses: actions/upload-artifact@master
with:
name: targets
path: |
jdk-platform-logging/target
junit-extension/target
keeper/target
retention-days: 1
codacy-security-scan:
name: Codacy Security Scan
needs: build
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@09916000460adeeedc96b9704f86deba53e2ad5d
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
verbose: true
output: results.sarif
format: sarif
gh-code-scanning-compat: true
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
codacy-coverage-reporter:
name: Codacy Coverage Reporter
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Retrieve saved test requests and target
uses: actions/download-artifact@master
with:
name: targets
path: .
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@a38818475bb21847788496e9f0fddaa4e84955ba
with:
coverage-reports: target/site/jacoco/jacoco.xml
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
30 changes: 15 additions & 15 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- Rename to Mock Loggers
- Rename to Mock Loggers

## 1.1.3 - 2024-11-09

- Improved Javadoc
- Use BOM for jUnit and Mockito
- Add activity badges, update other
- Update Maven plugins: invoker, javadoc, surefire and failsafe
- Custom annotation @MockLoggers
- Improved Javadoc
- Use BOM for jUnit and Mockito
- Add activity badges, update other
- Update Maven plugins: invoker, javadoc, surefire and failsafe
- Custom annotation @MockLoggers

## 1.1.2 - 2024-10-21

- Update jUnit Jupiter and Platform
- Update Mockito to 5.14
- Update a bunch of Maven plugins: javadoc, surefire, failsafe, invoker, central-publishing, jetbrains annotations
- Update jUnit Jupiter and Platform
- Update Mockito to 5.14
- Update a bunch of Maven plugins: javadoc, surefire, failsafe, invoker, central-publishing, jetbrains annotations

## 1.1.1 - 2024-08-20

- Update jUnit to 5.11
- Improve extension's logging
- Clean the Maven publishing plugin's configuration.
- Update jUnit to 5.11
- Improve extension's logging
- Clean the Maven publishing plugin's configuration.

## 1.1.0 - 2024-07-19

- Implement jUnit extension.
- Implement jUnit extension.

## 1.0.0 - 2024-07-15

- Implement a logger finder.
- Add Javadocs.
- Implement a logger finder.
- Add Javadocs.

0 comments on commit 90de7b8

Please sign in to comment.