Update pull_request_ci.yml

This commit is contained in:
Florian Heilmann 2023-07-18 16:44:06 +02:00 committed by GitHub
parent 4d9b2c34b6
commit e840d7f448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@ permissions:
jobs: jobs:
checkout_check_whitespace: checkout_check_whitespace:
name: Checkout & Check Whitespace name: Checkout & Check Whitespace
uses: VoronDesign/.github/.github/workflows/pr_checkout_check_whitespace_cache.yml@v3 uses: VoronDesign/.github/.github/workflows/pr_checkout_check_whitespace_cache.yml@main
with: with:
branch: ${{ github.ref }} branch: ${{ github.ref }}
cache-key: file-cache-${{github.sha}} cache-key: file-cache-${{github.sha}}
@ -20,7 +20,7 @@ jobs:
needs: [checkout_check_whitespace] needs: [checkout_check_whitespace]
name: Prepare python environment name: Prepare python environment
if: ${{ needs.checkout_check_whitespace.outputs.stl == 'true' }} if: ${{ needs.checkout_check_whitespace.outputs.stl == 'true' }}
uses: VoronDesign/.github/.github/workflows/prepare-environment.yml@v3 uses: VoronDesign/.github/.github/workflows/prepare-environment.yml@main
with: with:
apt-packages: "admesh, libadmesh-dev" apt-packages: "admesh, libadmesh-dev"
pip-packages: "admesh imagekitio git+https://github.com/ChristophSchranz/Tweaker-3.git" pip-packages: "admesh imagekitio git+https://github.com/ChristophSchranz/Tweaker-3.git"
@ -29,7 +29,7 @@ jobs:
name: Check STL corruption name: Check STL corruption
needs: [setup_python] needs: [setup_python]
if: ${{ needs.checkout_check_whitespace.outputs.stl == 'true' }} if: ${{ needs.checkout_check_whitespace.outputs.stl == 'true' }}
uses: VoronDesign/.github/.github/workflows/check-stl-corruption.yml@v3 uses: VoronDesign/.github/.github/workflows/check-stl-corruption.yml@main
with: with:
cache-key: file-cache-${{github.sha}} cache-key: file-cache-${{github.sha}}
cache-directory: pr-files cache-directory: pr-files
@ -38,7 +38,7 @@ jobs:
name: Check STL rotation name: Check STL rotation
needs: [setup_python] needs: [setup_python]
if: ${{ needs.checkout_check_whitespace.outputs.stl == 'true' }} if: ${{ needs.checkout_check_whitespace.outputs.stl == 'true' }}
uses: VoronDesign/.github/.github/workflows/check-stl-rotation.yml@v3 uses: VoronDesign/.github/.github/workflows/check-stl-rotation.yml@main
secrets: secrets:
# ToDo: Change to secrets: inherit once it's in the VoronDesign org # ToDo: Change to secrets: inherit once it's in the VoronDesign org
IMAGEKIT_PRIVATE_KEY: ${{ secrets.IMAGEKIT_PRIVATE_KEY }} IMAGEKIT_PRIVATE_KEY: ${{ secrets.IMAGEKIT_PRIVATE_KEY }}
@ -52,14 +52,14 @@ jobs:
name: Check metadata files name: Check metadata files
needs: [checkout_check_whitespace] needs: [checkout_check_whitespace]
if: ${{ needs.checkout_check_whitespace.outputs.yaml == 'true' }} if: ${{ needs.checkout_check_whitespace.outputs.yaml == 'true' }}
uses: VoronDesign/.github/.github/workflows/validate-metadata-files.yml@v3 uses: VoronDesign/.github/.github/workflows/validate-metadata-files.yml@main
with: with:
cache-key: file-cache-${{github.sha}} cache-key: file-cache-${{github.sha}}
cache-directory: pr-files cache-directory: pr-files
preview_readme: preview_readme:
name: Preview README.md name: Preview README.md
needs: [validate_metadata] needs: [validate_metadata]
uses: VoronDesign/.github/.github/workflows/preview-readme.yml@v3 uses: VoronDesign/.github/.github/workflows/preview-readme.yml@main
with: with:
subdirectory: printer_mods subdirectory: printer_mods
cache-key: file-cache-${{github.sha}} cache-key: file-cache-${{github.sha}}