diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 12e985bc..2c5ee36d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.23" - name: Setup Ruby uses: ruby/setup-ruby@v1 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index c28f2297..79596a1a 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.23" - name: Setup Ruby uses: ruby/setup-ruby@v1 diff --git a/.tool-versions b/.tool-versions index 4375f099..cb3cb78b 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -golang 1.20.14 +golang 1.23.12 ruby 3.4.1 diff --git a/BUILD.md b/BUILD.md index 1be8e45a..a183d5e7 100644 --- a/BUILD.md +++ b/BUILD.md @@ -6,7 +6,7 @@ Build instructions ### Prerequisites -- Go 1.20 or above +- Go 1.23 or above ### Using Makefile @@ -41,6 +41,20 @@ make release > --profile-block /tmp/block.pprof --profile-mutex /tmp/mutex.pprof > ``` +Running tests +------------- + +```sh +# Run go unit tests +make test + +# Run integration tests (requires to be on tmux) +make itest + +# Run a single test case +ruby test/runner.rb --name test_something +``` + Third-party libraries used --------------------------