Compare commits
8 Commits
6c0332d79e
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 74dfdc50cc | |||
| 94d41d5c8a | |||
| b27ef57676 | |||
| c940f31ec7 | |||
| a8f1244b00 | |||
| d107127017 | |||
| d51de80de8 | |||
| 7a92485cf1 |
+19
-3
@@ -1,4 +1,20 @@
|
|||||||
# Shell scripts must keep LF endings. core.autocrlf=true on Windows would
|
# Line endings: LF in the repository and in every working tree, on every OS.
|
||||||
# otherwise check them out CRLF, which a strict POSIX sh (dash, CI containers)
|
#
|
||||||
# rejects at the shebang.
|
# This file is the policy, not each machine's git config. Git for Windows installs
|
||||||
|
# with core.autocrlf=true, which checks text out as CRLF; an attribute here beats
|
||||||
|
# that setting, so a fresh clone gets LF regardless of how its machine is set up.
|
||||||
|
#
|
||||||
|
# It matters beyond tidiness. tools/branding-sites.tsv is read line by line with
|
||||||
|
# `read`, and under CRLF every row's last field gained a trailing CR byte - so the
|
||||||
|
# branding checker reported all 29 sites as missing on Windows while passing on the
|
||||||
|
# Linux CI runner. text=auto leaves genuinely binary files alone.
|
||||||
|
* text=auto eol=lf
|
||||||
|
|
||||||
|
# Shell scripts are pinned explicitly as well: a strict POSIX sh (dash, CI
|
||||||
|
# containers) rejects a CRLF shebang outright rather than misbehaving quietly.
|
||||||
*.sh text eol=lf
|
*.sh text eol=lf
|
||||||
|
|
||||||
|
# The exception. cmd.exe misparses LF-only batch files around labels and long
|
||||||
|
# lines, so these alone are checked out CRLF. The repository copy is still LF.
|
||||||
|
*.bat text eol=crlf
|
||||||
|
*.cmd text eol=crlf
|
||||||
|
|||||||
@@ -10,8 +10,24 @@ on:
|
|||||||
- 'Cargo.lock'
|
- 'Cargo.lock'
|
||||||
- 'bundler.toml'
|
- 'bundler.toml'
|
||||||
- 'tools/**'
|
- 'tools/**'
|
||||||
|
# This workflow validates itself: a broken step, a moved script path or a
|
||||||
|
# wrong runner label then fails loudly on the commit that caused it, rather
|
||||||
|
# than surfacing later against an unrelated source change. Note the limit -
|
||||||
|
# it checks the job body, not the trigger block above. Break `on:` and the
|
||||||
|
# symptom is silence, which looks like success.
|
||||||
|
- '.github/workflows/**'
|
||||||
|
# Mirrors the push filter. Without it a PR touching only the README would run a
|
||||||
|
# full build - the branch filter alone constrains where, not what.
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- 'xtask/**'
|
||||||
|
- 'Cargo.toml'
|
||||||
|
- 'Cargo.lock'
|
||||||
|
- 'bundler.toml'
|
||||||
|
- 'tools/**'
|
||||||
|
- '.github/workflows/**'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# Target the self-hosted Rust/audio runner registered to the `musiikki` org.
|
# Target the self-hosted Rust/audio runner registered to the `musiikki` org.
|
||||||
|
|||||||
Reference in New Issue
Block a user