set mochi-2e2 as submodule

* update go version to 1.23
* remove sha256-simd dependency
* fix logger file path
This commit is contained in:
Lawrence, Rendall
2024-10-01 16:17:42 +03:00
parent b211866cf3
commit 9fc94617ce
10 changed files with 373 additions and 327 deletions

View File

@@ -15,7 +15,7 @@ jobs:
- uses: "actions/checkout@v4"
- uses: "actions/setup-go@v5"
with:
go-version: ">=1.22"
go-version: ">=1.23"
- name: "Build"
run: "go build ./cmd/..."
@@ -42,7 +42,7 @@ jobs:
- uses: "actions/checkout@v4"
- uses: "actions/setup-go@v5"
with:
go-version: "^1.22"
go-version: "^1.23"
- name: "Run `go test`"
run: "go test -race ./..."
@@ -53,11 +53,13 @@ jobs:
- uses: "actions/checkout@v4"
- uses: "actions/setup-go@v5"
with:
go-version: "^1.22"
go-version: "^1.23"
- name: "Install and configure mochi"
run: |
go install ./cmd/mochi
go install ./cmd/mochi-e2e
cd ./cmd/mochi-e2e
go install .
cd -
cat ./dist/example_config.yaml
- name: "Run end-to-end tests"
run: |
@@ -77,11 +79,13 @@ jobs:
- uses: "actions/checkout@v4"
- uses: "actions/setup-go@v5"
with:
go-version: "^1.22"
go-version: "^1.23"
- name: "Install and configure mochi"
run: |
go install ./cmd/mochi
go install ./cmd/mochi-e2e
cd ./cmd/mochi-e2e
go install .
cd -
cat ./dist/example_config_redis.yaml
- name: "Run end-to-end tests"
run: |