diff --git a/.github/workflows/go_fuzz.yml b/.github/workflows/go_fuzz.yml index f8ef8192..7e3612af 100644 --- a/.github/workflows/go_fuzz.yml +++ b/.github/workflows/go_fuzz.yml @@ -58,7 +58,7 @@ jobs: go generate # go generate fuzz.go - name: Upload Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: go-test-utils path: ${{ env.GOBIN }} @@ -97,7 +97,7 @@ jobs: # go generate - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: go-test-utils path: ${{ env.GOBIN }} @@ -150,7 +150,7 @@ jobs: fi - name: Upload TestCases - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: steps.check_files.outputs.files_exists == 'true' with: name: go-fuzz-testdata diff --git a/Makefile b/Makefile index 75454f55..4702f85a 100644 --- a/Makefile +++ b/Makefile @@ -41,10 +41,4 @@ lint: $(GOLANGCI) ## Runs golangci-lint with predefined configuration golangci-lint version golangci-lint run -c .golangci.yaml ./... - -release: - @sh scripts/release.sh - - - .PHONY: lint lint-prepare clean build unittest \ No newline at end of file diff --git a/db_test.go b/db_test.go index 96c18729..aed9f8ce 100644 --- a/db_test.go +++ b/db_test.go @@ -144,7 +144,7 @@ func testMW(t *testing.T, config DBConfig) { switch i % 4 { case 0: - query = "select 1'" + query = "select '1'" mock.ExpectQuery(query) resolver.Query(query) case 1: diff --git a/generate_test.go b/generate_test.go index 8208b000..3c9eba62 100644 --- a/generate_test.go +++ b/generate_test.go @@ -1,6 +1,6 @@ //go:build generate -//go:generate go install github.com/mfridman/tparse@latest +//go:generate go install github.com/mfridman/tparse@v0.15.0 //go:generate go install gotest.tools/gotestsum@latest //go:generate tparse -v //go:generate gotestsum --version