From cc7ddd5e98d8e652c6df181539064910e00a0de8 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Wed, 1 Nov 2023 12:55:50 +0700 Subject: [PATCH 1/2] trigger ci --- mdbx/cursor_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/mdbx/cursor_test.go b/mdbx/cursor_test.go index 5f339d8..d31d6d9 100644 --- a/mdbx/cursor_test.go +++ b/mdbx/cursor_test.go @@ -632,6 +632,7 @@ func TestCursor_Get_reverse(t *testing.T) { //} func TestCursor_Del(t *testing.T) { + env, _ := setup(t) var db DBI From aa9ad8939d7eabe79ced263a5a4681abaa612022 Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Wed, 1 Nov 2023 14:38:34 +0700 Subject: [PATCH 2/2] green ci (#126) --- .github/workflows/test.yml | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4385ab2..1d0cc08 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,15 +10,9 @@ jobs: steps: - uses: actions/checkout@v3 - - - uses: actions/setup-go@v3 - with: - go-version: 1.18.x - - - uses: actions/cache@v3 + - uses: actions/setup-go@v4 with: - path: ~/go/pkg/mod - key: go-${{ matrix.os }}-${{ matrix.go }}-${{ hashFiles('**/go.sum') }} + go-version: '1.20' - run: GODEBUG=cgocheck=2 make race @@ -29,29 +23,23 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-go@v3 - with: - go-version: 1.18.x - - uses: actions/cache@v3 with: path: | C:\ProgramData\chocolatey\lib\mingw C:\ProgramData\chocolatey\lib\cmake - key: chocolatey-${{ matrix.os }} + key: + chocolatey-${{ matrix.os }} + - name: Install dependencies run: | choco upgrade mingw -y --no-progress --version 11.2.0.07112021 choco install cmake -y --no-progress --version 3.23.1 - - uses: actions/cache@v3 + - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 with: - path: | - ~\AppData\Local\go-build - ~\go\pkg\mod - key: go-${{ matrix.os }}-${{ hashFiles('**/go.sum') }} - restore-keys: go-${{ matrix.os }}- + go-version: '1.20' - - run: make test + - run: go env + - run: go test ./mdbx ./exp/mdbxpool