summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-09-05 14:45:17 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-09-05 14:45:17 +0900
commit129cb230781d0258cd837486e436ba9ad471bc89 (patch)
treec3165d8367c355a05d07281ac5386fec29cb4fba
parentd22812e91790e1f7cec00319ff1b68776cc62aad (diff)
downloadfzf-129cb230781d0258cd837486e436ba9ad471bc89.tar.gz
Require Go 1.23
-rw-r--r--.github/workflows/linux.yml2
-rw-r--r--.github/workflows/macos.yml2
-rw-r--r--.tool-versions2
-rw-r--r--BUILD.md16
4 files changed, 18 insertions, 4 deletions
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
--------------------------