chore(deps): bump io.micronaut.application from 4.2.1 to 4.3.5 #602
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
name: CI Pipeline | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request_target: | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
permissions: read-all | |
jobs: | |
build: | |
name: Build & Validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@v1.1.0 | |
- name: Build | |
uses: gradle/gradle-build-action@v2.11.1 | |
with: | |
arguments: build jacocoTestReport -i | |
- name: Report coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
name: branch-${{ github.ref }} | |
verbose: true | |
fail_ci_if_error: false | |
- name: Run codacy coverage reporter | |
uses: codacy/codacy-coverage-reporter-action@v1 | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
- uses: actions/upload-artifact@v4.0.0 | |
with: | |
name: Build Artifacts | |
path: | | |
**/build/reports | |
lint-test-helm: | |
name: Lint & Test chart | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3.5 | |
with: | |
version: v3.10.0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
check-latest: true | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@v2.6.1 | |
- name: Run chart-testing (list-changed) | |
id: list-changed | |
run: | | |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | |
if [[ -n "$changed" ]]; then | |
echo "::set-output name=changed::true" | |
fi | |
- name: Run chart-testing (lint) | |
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --config .github/ct.yaml | |
- name: Create kind cluster | |
uses: helm/kind-action@v1.8.0 | |
if: steps.list-changed.outputs.changed == 'true' | |
- name: Run chart-testing (install) | |
run: ct install | |
docs-test: | |
name: Test documentation | |
runs-on: ubuntu-latest | |
needs: | |
- lint-test-helm | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
run: | | |
pip install \ | |
mkdocs-material \ | |
mkdocs-git-revision-date-localized-plugin | |
- name: Build documentation | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
python -m mkdocs build |