Files
.github
workflows
branchbuild.txt
build.yml
pre-commit.yaml
release.yml
semgrep.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
René Zubcevic 508703ffce update dependencies and version ()
* update dependencies and version
* debug macos build issue
* update and fix Dockerfile(s)
2024-05-31 19:39:03 +02: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: '21'
- 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()