Skip to content

Commit d61c549

Browse files
committed
chore: remove un-used codes
Signed-off-by: peefy <[email protected]>
1 parent 181153c commit d61c549

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

.github/workflows/ci.yaml

-18
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,3 @@ jobs:
2828
uses: shogo82148/actions-goveralls@v1
2929
with:
3030
path-to-profile: coverage.out
31-
32-
Lint:
33-
name: Lint checks
34-
runs-on: ubuntu-latest
35-
steps:
36-
- name: Checkout
37-
uses: actions/checkout@v2
38-
with:
39-
fetch-depth: 0
40-
- name: Set up Go 1.21
41-
uses: actions/setup-go@v2
42-
with:
43-
go-version: 1.21
44-
- name: golangci-lint
45-
uses: golangci/golangci-lint-action@v3
46-
with:
47-
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
48-
version: v1.50.1

pkg/options/run_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,6 @@ func TestRunPkg(t *testing.T) {
153153
assert.Equal(t, err, nil)
154154
resStr := strings.ReplaceAll(buf.String(), "\r\n", "")
155155
resStr = strings.ReplaceAll(resStr, "\n", "")
156-
156+
157157
assert.Equal(t, resStr, "The_first_kcl_program: Hello World!")
158158
}

0 commit comments

Comments
 (0)