--- clone: git: image: woodpeckerci/plugin-git settings: skip_verify: true steps: "lint:precommit": group: lint image: dchevallier/pre-commit:latest commands: - pre-commit install - pre-commit run --all-files "lint:style": group: lint image: gradle:8.4.0-jdk17 commands: - gradle spotlessCheck --no-daemon "lint:credentials": group: lint image: ghcr.io/gitleaks/gitleaks:latest commands: - export HOME=/home/gitleaks - gitleaks detect "lint:commitlint": group: lint image: node:lts-slim commands: - npm install --save-dev conventional-changelog-conventionalcommits @commitlint/config-conventional commitlint@latest - echo "$CI_COMMIT_MESSAGE"x | npx commitlint when: - branch: [main, dev] - event: push "lint:hadolint": group: lint image: ghcr.io/hadolint/hadolint:latest-debian commands: - hadolint --version - hadolint Dockerfile "build:java": group: build image: gradle:8.4.0-jdk17 commands: - ./gradlew build