Skip to content

chore(deps): bump gradle/gradle-build-action from 2.4.2 to 2.5.1 (#117) #430

chore(deps): bump gradle/gradle-build-action from 2.4.2 to 2.5.1 (#117)

chore(deps): bump gradle/gradle-build-action from 2.4.2 to 2.5.1 (#117) #430

Workflow file for this run

name: CI Pipeline
on:
push:
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@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1.0.6
- name: Build
uses: gradle/gradle-build-action@v2.5.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@v3.1.2
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@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.10.0
- uses: actions/setup-python@v4
with:
python-version: '3.9'
check-latest: true
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.4.0
- 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.7.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@v3
with:
fetch-depth: 0
- name: Setup python
uses: actions/setup-python@v4
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