From 0badac7787534005f464c0f129800307f75dd102 Mon Sep 17 00:00:00 2001
From: lixizan <lxzan520@gmail.com>
Date: Sat, 23 Dec 2023 21:52:34 +0800
Subject: [PATCH] Setting Line Breaks

---
 .editorconfig            | 19 +++++++++++++++++++
 .github/workflows/go.yml | 20 ++++++++++----------
 2 files changed, 29 insertions(+), 10 deletions(-)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..154d98f
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,19 @@
+# EditorConfig is awesome: https://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+[*.go]
+indent_style = tab
+indent_size = 4
+
+[Makefile]
+indent_style = tab
+
+[*.{yml,yaml}]
+indent_style = space
+indent_size = 2
\ No newline at end of file
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 95a90e2..021ce62 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -14,15 +14,15 @@ jobs:
   build:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v3
+      - uses: actions/checkout@v3
 
-    - name: Set up Go
-      uses: actions/setup-go@v3
-      with:
-        go-version: 1.19
+      - name: Set up Go
+        uses: actions/setup-go@v3
+        with:
+          go-version: 1.19
 
-    - name: Test
-      run: go test -v ./...
-      
-    - name: Bench
-      run: make bench
+      - name: Test
+        run: make test
+
+      - name: Bench
+        run: make bench