mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 02:24:23 -05:00
Disable git text conversion via .gitattributes, remove CI workarounds (#20514)
disable git text conversion via .gitattributes, remove CI workarounds Add `* -text` to .gitattributes to prevent git from performing any line-ending conversion on any file. This makes the per-workflow `git config --global core.autocrlf false` steps in test-single and pre-commit redundant, so remove them.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
.git_archival.txt export-subst
|
||||
**/*.lock linguist-generated=false
|
||||
* -text
|
||||
|
||||
@@ -62,10 +62,6 @@ jobs:
|
||||
|
||||
- uses: Chia-Network/actions/git-mark-workspace-safe@main
|
||||
|
||||
- name: disable git autocrlf
|
||||
run: |
|
||||
git config --global core.autocrlf false
|
||||
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -133,10 +133,6 @@ jobs:
|
||||
BLOCKS_AND_PLOTS_VERSION: 0.45.3
|
||||
|
||||
steps:
|
||||
- name: Configure git
|
||||
run: |
|
||||
git config --global core.autocrlf false
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user