From c85ec75fe69dacf1b249274a6e179fe930fe3f8c Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Mon, 24 Feb 2025 15:24:50 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20chore:=20Add=20go1.24=20to=20CI?= =?UTF-8?q?=20matrix=20(#3325)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add go1.24 to CI matrix * Create codecov.yml * Lower coverage threshold to 0.5% --- .github/README.md | 4 ++-- .github/codecov.yml | 9 +++++++++ .github/workflows/test.yml | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .github/codecov.yml diff --git a/.github/README.md b/.github/README.md index cb7b19b3..4559cc72 100644 --- a/.github/README.md +++ b/.github/README.md @@ -124,7 +124,7 @@ We **listen** to our users in [issues](https://github.com/gofiber/fiber/issues), ## ⚠️ Limitations -- Due to Fiber's usage of unsafe, the library may not always be compatible with the latest Go version. Fiber v3 has been tested with Go version 1.23. +- Due to Fiber's usage of unsafe, the library may not always be compatible with the latest Go version. Fiber v3 has been tested with Go version 1.23 or higher. - Fiber is not compatible with net/http interfaces. This means you will not be able to use projects like gqlgen, go-swagger, or any others which are part of the net/http ecosystem. ## 👀 Examples @@ -708,7 +708,7 @@ List of externally hosted middleware modules and maintained by the [Fiber team]( | :------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------- | | [contrib](https://github.com/gofiber/contrib) | Third-party middlewares | | [storage](https://github.com/gofiber/storage) | Premade storage drivers that implement the Storage interface, designed to be used with various Fiber middlewares. | -| [template](https://github.com/gofiber/template) | This package contains 9 template engines that can be used with Fiber `v3`. Go version 1.23 or higher is required. | +| [template](https://github.com/gofiber/template) | This package contains 9 template engines that can be used with Fiber. | ## 🕶️ Awesome List diff --git a/.github/codecov.yml b/.github/codecov.yml new file mode 100644 index 00000000..9a4b8ca6 --- /dev/null +++ b/.github/codecov.yml @@ -0,0 +1,9 @@ +# ignore files or directories to be scanned by codecov +ignore: + - "./docs/" + +coverage: + status: + project: + default: + threshold: 0.5% diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a106152b..d5ddb215 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: unit: strategy: matrix: - go-version: [1.23.x] + go-version: [1.23.x, 1.24.x] platform: [ubuntu-latest, windows-latest, macos-latest, macos-13] runs-on: ${{ matrix.platform }} steps: