Repository navigation
ci: bump dawidd6/action-send-mail from 12335b969ae3fb71bee5f2c6b829744261aec34c to 2e600f3776677e493bf0da7aaec39a586d19a5ed in the github-actions group #1173
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: MPL-2.0 | |
| # Stdlib naming convention check | |
| # | |
| # Enforces: stdlib/*.affine filenames are lowercase. | |
| # | |
| # Why: a 2026-04 transition introduced lowercase versions alongside | |
| # pre-existing PascalCase ones (Math.affine + math.affine etc.). | |
| # This caused a permanent case-collision on case-insensitive | |
| # filesystems (Windows NTFS, default macOS). Pinning the convention | |
| # at lowercase prevents the duplicate-file regression. | |
| name: Stdlib Naming Convention | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| # Actions concurrency pool. Applied only to read-only check workflows | |
| # (no publish/mutation), so cancelling a superseded run is always safe. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| enforce-lowercase-stdlib: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Enforce lowercase .affine filenames in stdlib/ | |
| run: | | |
| BAD=$(find stdlib -maxdepth 1 -type f -name '*.affine' | grep -E '/stdlib/[A-Z]' || true) | |
| if [ -n "$BAD" ]; then | |
| echo "❌ stdlib/ requires lowercase .affine filenames. Found:" | |
| echo "$BAD" | |
| echo "" | |
| echo "Convention: stdlib/foo.affine, not stdlib/Foo.affine." | |
| echo "PascalCase files cause case-collision on case-insensitive" | |
| echo "filesystems (Windows NTFS, default macOS HFS+/APFS) when a" | |
| echo "lowercase counterpart also exists in the tree." | |
| exit 1 | |
| fi | |
| echo "✅ stdlib/ filenames lowercase OK" |