Commit Graph

69 Commits (25e399213c11d23783ea583340f1282e5b27db86)

Author SHA1 Message Date
Juan Calderon-Perez 25e399213c
chore: Add support for go1.23 and golangci-lint v1.60.1 (#3101)
* Bump min go to 1.22, bump golangci-lint to v1.60.1, regenerate all msgp

* Fix golanci-lint issues

* Fix golanci-lint issues
2024-08-14 09:14:04 +02:00
Juan Calderon-Perez 9463a8f626
v3: Add support for consistent documentation using markdownlint (#3064)
* Add support for consistent documentation using markdownlint

* Only run workflow during changes to markdown files

* Fix more inconsistencies

* Fixes to markdown under .github/

* More fixes

* Apply suggestions from code review

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Fix typo in limiter docs

* Add missing space before code-block

* Add check for dead-links

* Add write-good

* Remove legacy README files

* Fix glob for skipping .md files

* Use paths-ignore instead

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-11 15:21:56 +02:00
Juan Calderon-Perez d17eb99377
v3: Enforce key length for EncryptCookie middleware default functions (#3056)
* Support for key length, Add benchmarks for EncryptCookie middleware

* Format tests

* Add tests for panics and key check in Encryptor and Decryptor functions

* Add tests for base64 decoding errors

* Update docs/middleware/encryptcookie.md

Co-authored-by: Jason McNeil <sixcolors@mac.com>

* Update middleware/encryptcookie/utils.go

Co-authored-by: Jason McNeil <sixcolors@mac.com>

* Add suggestions from code review

---------

Co-authored-by: Jason McNeil <sixcolors@mac.com>
2024-07-05 09:04:57 +02:00
René 6108475ccb reduce time for longRun test workflow 2024-07-01 15:30:14 +02:00
René a3768a2598 reduce time for longRun test workflow 2024-07-01 15:26:46 +02:00
Juan Calderon-Perez a18e8a8967
feat: Add support for longtests during CI (#3054)
* Add support for longtests during CI

* Reduce count from 25 to 15
2024-06-30 21:34:14 +02:00
dependabot[bot] 9caa11fd71
build(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0 (#3035)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.4.1...v4.5.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 09:22:08 +02:00
dependabot[bot] ade7d4783f
build(deps): bump codecov/codecov-action from 4.4.0 to 4.4.1 (#3009)
---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-22 23:11:08 +03:00
dependabot[bot] 4bc4e610a7
build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.0 (#2999)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.3.1...v4.4.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: RW <rene@gofiber.io>
2024-05-21 08:57:37 +02:00
dependabot[bot] 109ccdd4ad
build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 (#2993)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 15:36:51 +02:00
dependabot[bot] 68780cdf59
build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.0 (#2959)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.1 to 4.3.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.1.1...v4.3.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 16:10:13 +02:00
dependabot[bot] dfe5c6fd04
build(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1 (#2941)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 10:45:38 +01:00
Juan Calderon-Perez 95c181469d
chore: Enabling shuffling, cleanup and consistency across tests (#2931)
* Make Test/Benchmark names consistent. Add Makefile for GoFiber developers

* Cleanup README and Makefile

* Update statement
2024-03-24 20:54:56 +01:00
Juan Calderon-Perez 32168793f5
🧹 v3 (chore): Bump minimum version of Go to 1.21 (#2911)
Bump Go minimum version to 1.21
2024-03-10 10:47:21 +03:00
dependabot[bot] 1fdef7f742
build(deps): bump codecov/codecov-action from 4.0.1 to 4.1.0 (#2901)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-08 16:19:07 +01:00
RW 79b24ea8e0
Update test.yml
optimize codecov
2024-03-05 08:35:09 +01:00
nickajacks1 6389961614
🧹 v3 (chore): Update test workflow to use gotestsum (#2895) 2024-03-05 09:53:23 +03:00
RW 0dd26107fe
Update test.yml
Add codecov-action
2024-03-04 19:18:11 +01:00
leonklingele 8c413d0652
feat(ci): do not retry flaky tests (#2875)
Reporting flaky tests is important so they can be fixed.
Also this allows to discover data races which else might go completely unnoticed.
2024-02-23 09:12:00 +01:00
Juan Calderon-Perez 535e5c62f4
Run tests against Apple M1 platform (#2852)
Run tests against MacOS-14 arm64 platform
2024-02-12 02:04:31 +03:00
Juan Calderon-Perez d305cc4ca5
Add go1.22 to test matrix (#2835) 2024-02-07 14:12:51 +01:00
dependabot[bot] a348c1dd2c
build(deps): bump nick-fields/retry from 2 to 3 (#2824)
Bumps [nick-fields/retry](https://github.com/nick-fields/retry) from 2 to 3.
- [Release notes](https://github.com/nick-fields/retry/releases)
- [Changelog](https://github.com/nick-fields/retry/blob/master/.releaserc.js)
- [Commits](https://github.com/nick-fields/retry/compare/v2...v3)

---
updated-dependencies:
- dependency-name: nick-fields/retry
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 13:38:43 +01:00
dependabot[bot] 6bd046bbc2
build(deps): bump actions/setup-go from 4 to 5 (#2789)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 23:02:19 +03:00
René Werner 960b652587 configure workflows for main (v3-beta) branch 2024-01-06 17:49:14 +01:00
Muhammed Efe Cetin 6ea4d81331
Merge branch 'master' into v3-beta 2023-11-07 20:22:31 +03:00
dependabot[bot] fe65ff8dff
build(deps): bump actions/checkout from 3 to 4 (#2618)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 13:24:24 +02:00
Juan Calderon-Perez 8761d948ba
Rollback changes to go.mod file (#2614)
* Rollback changes to go.mod file

* Format workflow files with prettier, use go1.20 for go.mod file
2023-09-02 07:41:54 +02:00
M. Efe Çetin e2f7457d4d
🧹 chore: add go 1.21 to ci and readmes (#2588) 2023-08-19 18:31:38 +02:00
Muhammed Efe Cetin 75bb02b87e
Merge remote-tracking branch 'origin/master' into v3-beta 2023-08-05 22:02:01 +03:00
René Werner 719a5a2a8f repair test workflow 2023-06-12 07:59:59 +02:00
René Werner 9effdf829a disable golang test cache 2023-06-09 21:14:32 +02:00
leonklingele c6e86ac906
github/workflows: also run tests with Go 1.19.x (#2384) 2023-03-25 17:47:38 +01:00
dependabot[bot] 7536ce8b1a
Bump actions/setup-go from 3 to 4 (#2376)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 08:27:53 +01:00
M. Efe Çetin 9064eb6469
🧹 chore: drop go 1.16 support & update dependencies (#2374)
* 🧹 chore: drop go 1.16 support

* downgrade uniseg

* fix tests

* fix tests

* fix tests
2023-03-20 08:22:31 +01:00
René Werner 19aa55da38 improve workflows
- exclude markdown changes
- don´t push the benchmark results in a pull request
2023-02-28 18:10:05 +01:00
René Werner d034115dec optimize workflows and test docs sync 2023-02-25 10:43:53 +01:00
Muhammed Efe Çetin 088cde594d
Merge remote-tracking branch 'origin/master' into v3-beta 2023-02-05 23:43:42 +03:00
M. Efe Çetin 2820aef585
🧹 chore: add go 1.20 to ci and readmes (#2322)
*  chore: add go 1.20 to ci and readmes

* 🧹 chore: add go 1.20 to ci and readmes

* update linter

* fix linter

* fix benchmarks

* fix benchmarks

* fix benchmarks
2023-02-02 23:01:37 +03:00
M. Efe Çetin 691d2e6ad5
🗑️ deprecate: go 1.14 & go 1.15 support deprecation (#2172)
* 🗑️ deprecate: go 1.14 & go 1.15 support deprecation
https://github.com/valyala/fasthttp/pull/1379

* fix tests
2022-10-26 11:51:50 +02:00
M. Efe Çetin 281e2f0046
v3 (feature): merge Listen methods & ListenConfig (#1930)
*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

* fix tests

* improve graceful shutdown

* update

* Start -> Listen

* rename test funcs.

* Add Test_Listen_Graceful_Shutdown test.

* add OnShutdownSuccess

* fix tests

* fix tests

* split listen & listener

* typo

* Add retry logic to tests

* Add retry logic to tests

* Add retry logic to tests

* Add retry logic to tests

Co-authored-by: René Werner <rene@gofiber.io>
2022-09-08 07:57:05 +02:00
dependabot[bot] 9fc80fcc92
Bump github.com/valyala/fasthttp from 1.39.0 to 1.40.0 (#2075)
* Bump github.com/valyala/fasthttp from 1.39.0 to 1.40.0

Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/valyala/fasthttp/releases)
- [Commits](https://github.com/valyala/fasthttp/compare/v1.39.0...v1.40.0)

---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add retry logic to tests

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: René Werner <rene@gofiber.io>
2022-09-06 17:53:45 +02:00
Muhammed Efe Çetin 4105b008c2
Merge remote-tracking branch 'origin/master' into v3-beta 2022-08-19 14:33:31 +03:00
Muhammed Efe Çetin 9af3c21b7a
👷 v3 (ci): fix tests 2022-08-08 11:19:57 +03:00
M. Efe Çetin adcb1f2bf1
v3: fix benchmark results (#1982)
* v3: fix benchmark results

* v3: fix benchmark results

* Fix Benchmark_Router_Github_API

* reduce duplicated tests run actions

* reduce duplicated tests run actions

* fix some benchmarks

Co-authored-by: wernerr <rene@gofiber.io>
2022-08-07 14:53:01 +03:00
wernerr 3552136805 reduce duplicated tests run actions 2022-08-03 13:12:47 +02:00
wernerr 96b4db17c6 reduce duplicated tests run actions 2022-08-03 13:03:06 +02:00
M. Efe Çetin fb780a01d0
ci: add go 1.19 to tests (#1994)
* ci: add go 1.19 to tests

* change test runner versions
skip it for 1.15, 1.17, 1.18

Co-authored-by: wernerr <rene@gofiber.io>
2022-08-03 11:07:21 +02:00
Muhammed Efe Çetin 07e847b3c1
Merge branch 'master' into v3-beta 2022-06-18 20:04:23 +03:00
M. Efe Çetin 43aa457b97
👷 ci: actions for MacOS (#1911)
* 👷 ci: actions for MacOS

* Cache golang modules

* update
2022-06-14 15:10:33 +02:00
Muhammed Efe Çetin d4d2f9212f
v3: remove old go versions from ci tests 2022-05-31 17:51:59 +03:00