Checkout with correct SSH key
This commit is contained in:
@@ -11,12 +11,16 @@ jobs:
|
||||
runs-on: node20
|
||||
name: Checkstyle Java Linting
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ssh-key: ${{ secrets.SSH_DEVSOAP_PRIVATE_KEY }}
|
||||
- name: Configure Java project
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '21'
|
||||
cache: 'gradle'
|
||||
- name: Download Checkstyle
|
||||
run: curl -L -o checkstyle.jar https://github.com/checkstyle/checkstyle/releases/download/checkstyle-10.12.1/checkstyle-10.12.1-all.jar
|
||||
- name: Run Checkstyle
|
||||
|
||||
Reference in New Issue
Block a user