diff --git a/.github/workflows/check_profiles.yml b/.github/workflows/check_profiles.yml new file mode 100644 index 000000000..e1d18fd54 --- /dev/null +++ b/.github/workflows/check_profiles.yml @@ -0,0 +1,30 @@ +name: Check locale +on: + pull_request: + branches: + - main + paths: + - 'resources/profiles/**' + - ".github/workflows/check_profiles.yml" + +jobs: + check_translation: + name: Check profiles + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + # download + - name: Download + working-directory: ${{ github.workspace }} + run: | + curl -LJO https://github.com/SoftFever/Orca_tools/releases/download/1/OrcaSlicer_profile_validator_ubuntu + chmod +x ./OrcaSlicer_profile_validator_ubuntu + + # validate profiles + - name: validate profiles + run: | + ./OrcaSlicer_profile_validator_ubuntu -p ${{ github.workspace }}/resources/profiles -l 2 + +