Skip to content

⚡ perf: adopt gofiber/utils v2.4.0 helpers and optimize adaptor/proxy hot paths #11113

⚡ perf: adopt gofiber/utils v2.4.0 helpers and optimize adaptor/proxy hot paths

⚡ perf: adopt gofiber/utils v2.4.0 helpers and optimize adaptor/proxy hot paths #11113

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- "**/*.md"
pull_request:
paths-ignore:
- "**/*.md"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
unit:
strategy:
matrix:
go-version: [1.25.x, 1.26.x]
platform: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
timeout-minutes: 30
steps:
- name: Fetch Repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: ${{ matrix.go-version }}
- name: Test
uses: gofiber/.github/.github/actions/gotestsum@main
with:
packages: ./...
rerun-fails: '2'
args: -race -count=1 -coverprofile=coverage.txt -covermode=atomic -shuffle=on
- name: Upload coverage reports to Codecov
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.go-version == '1.25.x' }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
slug: gofiber/fiber
verbose: true
repeated:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Fetch Repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: stable
- name: Test
uses: gofiber/.github/.github/actions/gotestsum@main
with:
args: ./... -race -count=15 -shuffle=on