feat(scalingengine): Integrate cf api with scalingengine #11450
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: Check Java Code | |
on: | |
pull_request: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
concurrency: | |
group: "${{ github.workflow }}/${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
code-style: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/cloudfoundry/app-autoscaler-release-tools:main@sha256:b0b8601a28a802b6e5fe683147786db536580baf261a0834912ef1dfd0cb7ba1 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Check Code Formatting | |
run: | | |
sh ./style-guide/google-format-ci-v0.1.sh | |
env: | |
GOOGLE_JAR_VERSION: 1.22.0 | |
GOOGLE_JAR_NAME: google-java-format-1.22.0-all-deps.jar | |
- name: Checkstyle | |
run: | | |
pushd src/scheduler | |
mvn --no-transfer-progress jxr:jxr | |
mvn --no-transfer-progress checkstyle:checkstyle | |
popd | |
- name: Publish Results on Pull Request | |
run: | | |
go run src/fmt_chkstyle/format_checkstyle.go |