Skip to content

Commit

Permalink
chore: remove un-used codes
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Jan 26, 2024
1 parent 181153c commit d61c549
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,3 @@ jobs:
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out

Lint:
name: Lint checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go 1.21
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.50.1
2 changes: 1 addition & 1 deletion pkg/options/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,6 @@ func TestRunPkg(t *testing.T) {
assert.Equal(t, err, nil)
resStr := strings.ReplaceAll(buf.String(), "\r\n", "")
resStr = strings.ReplaceAll(resStr, "\n", "")

assert.Equal(t, resStr, "The_first_kcl_program: Hello World!")
}

0 comments on commit d61c549

Please sign in to comment.