Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test PR with bad filename in mod metadata (file doesn't exist) #1

Closed
wants to merge 21 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 15 additions & 18 deletions .github/workflows/test_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
# Upload Artifact
- name: Upload build artifacts 📦
uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05
if: '!cancelled()'
with:
name: ci_output
path: ${{ env.VORON_TOOLKIT_OUTPUT_DIR }}
Expand All @@ -31,15 +30,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: changed-files
if: ${{ !cancelled() }}
# Check out files, separate with newlines to catch whitespace in filenames
name: Get changed files 🔀
# Check out files, separate with newlines to catch whitespace in filenames
uses: tj-actions/changed-files@v37
with:
separator: "\n"
# Sanitize the file list
- name: Prepare Sparse Checkout 🧹
if: ${{ !cancelled() }}
# Prepare patterns for sparse checkout
id: sanitize_file_list
uses: docker://ghcr.io/vorondesign/voron_toolkit_docker:latest
env:
Expand All @@ -48,67 +45,67 @@ jobs:
with:
args: prepare-sparse-checkout
- name: Perform sparse checkout ↪️
if: ${{ !cancelled() }}
# Perform a sparse checkout, checking out only the files of the PR
# Perform a sparse checkout, checking out only the files of the PR
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
ref: ${{ github.ref }}
path: ${{ github.workspace }}
sparse-checkout: ${{ steps.sanitize_file_list.outputs.SPARSE_CHECKOUT_HELPER_OUTPUT }}
sparse-checkout-cone-mode: false
- name: Save Github Event Payload💾
# Save the event payload (do this after the sparse checkout to avoid the file being cleaned)
id: save-payload
run: |
mkdir -p ${{ env.VORON_TOOLKIT_OUTPUT_DIR }}
echo -n "$GITHUB_EVENT_CONTEXT" >> ${{ env.VORON_TOOLKIT_OUTPUT_DIR }}/event.json
# Run whitespace/licenses/file sizes based on files in the test directory
- name: Check files for whitespace/licenses/file sizes 🔍
if: ${{ !cancelled() }}
# Run whitespace/licenses/file sizes check based on files in the test directory
uses: docker://ghcr.io/vorondesign/voron_toolkit_docker:latest
continue-on-error: true
env:
FILE_CHECKER_IGNORE_WARNINGS: true
FILE_CHECKER_CHECK_LICENSE: true
FILE_CHECKER_CHECK_FILE_SIZE_MB: 2
with:
args: check-files
- name: Check correct mod/file structure 🔍
if: ${{ !cancelled() }}
# Check the mod structure
uses: docker://ghcr.io/vorondesign/voron_toolkit_docker:latest
continue-on-error: true
env:
MOD_STRUCTURE_CHECKER_IGNORE_WARNINGS: false
with:
args: check-mod-structure
# Run the corruption checker
- name: Check for STL corruption 🔍
if: ${{ !cancelled() }}
# Run the corruption checker
uses: docker://ghcr.io/vorondesign/voron_toolkit_docker:latest
continue-on-error: true
env:
CORRUPTION_CHECKER_IGNORE_WARNINGS: true
with:
args: check-stl-corruption
# Run the rotation checker
- name: Check for incorrect STL rotation 🔍
if: ${{ !cancelled() }}
# Run the rotation checker
uses: docker://ghcr.io/vorondesign/voron_toolkit_docker:latest
continue-on-error: true
env:
ROTATION_CHECKER_IGNORE_WARNINGS: true
ROTATION_CHECKER_IMAGEKIT_ENDPOINT: https://ik.imagekit.io/vorondesign
ROTATION_CHECKER_IMAGEKIT_SUBFOLDER: ci_${{github.event.number}}
with:
args: check-stl-rotation
# Generate a README
- name: Generate README 📒
if: ${{ !cancelled() }}
# Generate a README
uses: docker://ghcr.io/vorondesign/voron_toolkit_docker:latest
continue-on-error: true
env:
README_GENERATOR_MARKDOWN: false
README_GENERATOR_JSON: false
with:
args: generate-readme
# Upload Artifact
- name: Upload build artifacts 📦
# Upload Artifact
uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05
if: '!cancelled()'
with:
name: ci_output
path: ${{ env.VORON_TOOLKIT_OUTPUT_DIR }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
title: Matchstick Diffusers
description: Diffusers for Rainbow / Daylight on a matchstick LEDs
printer_compatibility:
- V0
images:
- Images/CAD1.png
- Images/photo.jpg
cad:
- CAD/matchstick diffuser.step
discord_username: mapleleafmakers
mod_version: 1
Loading