1
0
mirror of https://github.com/ScrelliCopter/tmx2gba.git synced 2025-02-21 03:29:25 +11:00

restrict actions trigger to source and add editorconfig

This commit is contained in:
2024-03-22 15:32:35 +11:00
parent b9c56ce5a7
commit 7b0979e020
2 changed files with 21 additions and 0 deletions

17
.editorconfig Normal file
View File

@@ -0,0 +1,17 @@
root = true
[*]
charset = utf-8
[*.yml]
end_of_line = lf
insert_final_newline = true
indent_size = 2
indent_style = space
[{*.c,*.cpp,*.h,*.hpp,*.cmake,CMakeLists.txt}]
end_of_line = lf
insert_final_newline = true
indent_size = tab
indent_style = tab
tab_width = 4

View File

@@ -2,6 +2,10 @@ name: CMake
on: on:
push: push:
paths:
- "src/**"
- "ext/**"
- "CMakeLists.txt"
pull_request: pull_request:
branches: [ "master" ] branches: [ "master" ]