From 02c758b6ce34589ff4cbfd49e87c7e8c7d8824d4 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez Date: Thu, 27 Nov 2025 10:55:33 -0500 Subject: [PATCH] Format yaml files with github.com/google/yamlfmt/cmd/yamlfmt --- .github/workflows/auto-labeler.yml | 26 ++++++++++++-------------- .github/workflows/benchmark.yml | 6 ------ .github/workflows/test-etcd.yml | 21 ++++++++++----------- 3 files changed, 22 insertions(+), 31 deletions(-) diff --git a/.github/workflows/auto-labeler.yml b/.github/workflows/auto-labeler.yml index 346aed68..4a7f5dbf 100644 --- a/.github/workflows/auto-labeler.yml +++ b/.github/workflows/auto-labeler.yml @@ -1,17 +1,15 @@ name: auto-labeler - on: - issues: - types: [opened, edited, milestoned] - pull_request_target: - types: [opened, edited, reopened, synchronize] - workflow_dispatch: - + issues: + types: [opened, edited, milestoned] + pull_request_target: + types: [opened, edited, reopened, synchronize] + workflow_dispatch: jobs: - auto-labeler: - uses: gofiber/.github/.github/workflows/auto-labeler.yml@main - secrets: - github-token: ${{ secrets.ISSUE_PR_TOKEN }} - with: - config-path: .github/labeler.yml - config-repository: gofiber/.github + auto-labeler: + uses: gofiber/.github/.github/workflows/auto-labeler.yml@main + secrets: + github-token: ${{ secrets.ISSUE_PR_TOKEN }} + with: + config-path: .github/labeler.yml + config-repository: gofiber/.github diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 5fa690c3..f623c161 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -49,14 +49,12 @@ jobs: steps: - name: Fetch Repository uses: actions/checkout@v6 - - name: Install Go if: ${{ matrix.package != 'clickhouse' }} uses: actions/setup-go@v6 with: # NOTE: Keep this in sync with the version from go.mod go-version: "1.24.x" - - name: Setup Node.js uses: actions/setup-node@v6 with: @@ -67,26 +65,22 @@ jobs: .github/scripts/initialize-wrangler.sh cd cloudflarekv && npx wrangler dev & npx wait-on tcp:8787 - - name: Install Coherence if: ${{ matrix.package == 'coherence' }} run: | docker run -d -p 1408:1408 -p 30000:30000 ghcr.io/oracle/coherence-ce:22.06.5 sleep 30 - - name: Setup Redis if: ${{ matrix.package == 'rueidis' || matrix.package == 'valkey' }} uses: shogo82148/actions-setup-redis@v1 with: redis-version: '7.x' auto-start: 'false' - - name: Run Redis if: ${{ matrix.package == 'rueidis' || matrix.package == 'valkey' }} run: | redis-server --port 6379 & sleep 15 - - name: Install MSSQL if: ${{ matrix.package == 'mssql' }} run: | diff --git a/.github/workflows/test-etcd.yml b/.github/workflows/test-etcd.yml index d6fcce6c..dabdba15 100644 --- a/.github/workflows/test-etcd.yml +++ b/.github/workflows/test-etcd.yml @@ -19,14 +19,13 @@ jobs: - 1.24.x - 1.25.x steps: - - name: Fetch Repository - uses: actions/checkout@v6 - - - name: Install Go - uses: actions/setup-go@v6 - with: - go-version: '${{ matrix.go-version }}' - - name: Run Test - env: - TEST_ETCD_IMAGE: gcr.io/etcd-development/etcd:v3.6.6 - run: cd ./etcd && go test ./... -v -race + - name: Fetch Repository + uses: actions/checkout@v6 + - name: Install Go + uses: actions/setup-go@v6 + with: + go-version: '${{ matrix.go-version }}' + - name: Run Test + env: + TEST_ETCD_IMAGE: gcr.io/etcd-development/etcd:v3.6.6 + run: cd ./etcd && go test ./... -v -race