Files
.github
workflows
branchbuild.txt
build.yml
pre-commit.yaml
release.yml
test.yml
welcome.yml
FUNDING.yml
dependabot.yml
lock.yml
stale.yml
.mvn
config
docs
robot
src
.dockerignore
.editorconfig
.gitignore
.pre-commit-config.yaml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
COPYRIGHT.txt
CREATE_RELEASE.md
Dockerfile
Dockerfile_desktop
FAQ.md
LICENSE.txt
PULL_REQUEST_TEMPLATE.md
README.md
README_I18N.md
RELEASE_NOTES.md
mvn-debug
mvnw
mvnw.cmd
pom.xml
WebGoat/.github/workflows/pre-commit.yaml
dependabot[bot] 84029345b4 chore: bump actions/setup-java from 3 to 4 ()
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-06 20:17:13 +01:00

30 lines
792 B
YAML

name: Pre-commit check
on:
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
pre-commit:
name: Pre-commit check
runs-on: ubuntu-latest
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Pre-commit checks
uses: pre-commit/action@v3.0.0
- name: pre-commit-ci-lite
uses: pre-commit-ci/lite-action@v1.0.1
if: always()