Skip to content

Commit b2494af

Browse files
chore: clean CI release
Signed-off-by: zhanluxianshen <[email protected]>
1 parent 3a345ad commit b2494af

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

.github/workflows/go_fuzz.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
go generate
5959
# go generate fuzz.go
6060
- name: Upload Artifacts
61-
uses: actions/upload-artifact@v3
61+
uses: actions/upload-artifact@v4
6262
with:
6363
name: go-test-utils
6464
path: ${{ env.GOBIN }}
@@ -97,7 +97,7 @@ jobs:
9797
# go generate
9898

9999
- name: Download Artifacts
100-
uses: actions/download-artifact@v3
100+
uses: actions/download-artifact@v4
101101
with:
102102
name: go-test-utils
103103
path: ${{ env.GOBIN }}
@@ -150,7 +150,7 @@ jobs:
150150
fi
151151
152152
- name: Upload TestCases
153-
uses: actions/upload-artifact@v2
153+
uses: actions/upload-artifact@v4
154154
if: steps.check_files.outputs.files_exists == 'true'
155155
with:
156156
name: go-fuzz-testdata

Makefile

-6
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,4 @@ lint: $(GOLANGCI) ## Runs golangci-lint with predefined configuration
4141
golangci-lint version
4242
golangci-lint run -c .golangci.yaml ./...
4343

44-
45-
release:
46-
@sh scripts/release.sh
47-
48-
49-
5044
.PHONY: lint lint-prepare clean build unittest

db_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func testMW(t *testing.T, config DBConfig) {
144144

145145
switch i % 4 {
146146
case 0:
147-
query = "select 1'"
147+
query = "select '1'"
148148
mock.ExpectQuery(query)
149149
resolver.Query(query)
150150
case 1:

generate_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//go:build generate
22

3-
//go:generate go install github.com/mfridman/tparse@latest
3+
//go:generate go install github.com/mfridman/tparse@v0.15.0
44
//go:generate go install gotest.tools/gotestsum@latest
55
//go:generate tparse -v
66
//go:generate gotestsum --version

0 commit comments

Comments
 (0)