ci: bump actions/upload-artifact SHA to current v4 #112
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-License-Identifier: PMPL-1.0-or-later | ||
| permissions: | ||
| contents: read | ||
| name: Code Quality | ||
| on: [push, pull_request] | ||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| <<<<<<< HEAD | ||
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | ||
| ======= | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| >>>>>>> 2928af7 (chore: batch RSR compliance) | ||
| - name: Check file permissions | ||
| run: | | ||
| find . -type f -perm /111 -name "*.sh" | head -10 || true | ||
| - name: Check for secrets | ||
| uses: trufflesecurity/trufflehog@7ee2e0fdffec27d19ccbb8fb3dcf8a83b9d7f9e8 # main | ||
| with: | ||
| path: ./ | ||
| base: ${{ github.event.pull_request.base.sha || github.event.before }} | ||
| head: ${{ github.sha }} | ||
| continue-on-error: true | ||
| - name: Check TODO/FIXME | ||
| run: | | ||
| echo "=== TODOs ===" | ||
| grep -rn "TODO\|FIXME\|HACK\|XXX" --include="*.rs" --include="*.res" --include="*.py" --include="*.ex" . | head -20 || echo "None found" | ||
| - name: Check for large files | ||
| run: | | ||
| find . -type f -size +1M -not -path "./.git/*" | head -10 || echo "No large files" | ||
| - name: EditorConfig check | ||
| uses: editorconfig-checker/action-editorconfig-checker@4054fa83a075fdf090bd098bdb1c09aaf64a4169 # main | ||
| continue-on-error: true | ||
| docs: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| <<<<<<< HEAD | ||
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | ||
| ======= | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| >>>>>>> 2928af7 (chore: batch RSR compliance) | ||
| - name: Check documentation | ||
| run: | | ||
| MISSING="" | ||
| [ ! -f "README.md" ] && [ ! -f "README.adoc" ] && MISSING="$MISSING README" | ||
| [ ! -f "LICENSE" ] && [ ! -f "LICENSE.txt" ] && [ ! -f "LICENSE.md" ] && MISSING="$MISSING LICENSE" | ||
| [ ! -f "CONTRIBUTING.md" ] && [ ! -f "CONTRIBUTING.adoc" ] && MISSING="$MISSING CONTRIBUTING" | ||
| if [ -n "$MISSING" ]; then | ||
| echo "::warning::Missing docs:$MISSING" | ||
| else | ||
| echo "✅ Core documentation present" | ||
| fi | ||