Format yaml files using github.com/google/yamlfmt/cmd/yamlfmt

This commit is contained in:
Juan Calderon-Perez
2025-11-20 22:27:05 -05:00
parent 500e9ca7fb
commit d5882b84e2
39 changed files with 847 additions and 951 deletions

View File

@@ -1,5 +1,4 @@
name: Auto labeler
on:
issues:
types: [opened, edited, milestoned]
@@ -13,7 +12,6 @@ permissions:
pull-requests: write # for labeling pull requests (on: pull_request_target or on: pull_request)
statuses: write # to generate status
checks: write # to generate status
jobs:
labeler:
runs-on: ubuntu-latest
@@ -25,4 +23,3 @@ jobs:
# Use a PAT so that applying labels can trigger downstream workflows
# (GITHUB_TOKEN updates do not emit additional workflow events).
github-token: ${{ secrets.ISSUE_PR_TOKEN }}

View File

@@ -10,11 +10,9 @@ on:
paths:
- "**"
- "!**.md"
permissions:
deployments: write
contents: write
name: Benchmark
jobs:
changes:
@@ -24,7 +22,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Generate filters
id: filter-setup
run: |
@@ -33,7 +30,6 @@ jobs:
echo "$filters" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
shell: bash
- name: Filter changes
id: filter
uses: dorny/paths-filter@v3
@@ -41,7 +37,6 @@ jobs:
filters: ${{ steps.filter-setup.outputs.filters }}
outputs:
packages: ${{ steps.filter.outputs.changes || '[]' }}
compare:
needs: changes
runs-on: ubuntu-latest
@@ -54,25 +49,21 @@ jobs:
steps:
- name: Fetch Repository
uses: actions/checkout@v6
- name: Install Go
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:
node-version: '20'
- name: Install Cloudflare Worker
if: ${{ matrix.package == 'cloudflarekv' }}
run : |
run: |
.github/scripts/initialize-wrangler.sh
cd cloudflarekv && npx wrangler dev &
npx wait-on tcp:8787
- name: Install etcd
if: ${{ matrix.package == 'etcd' }}
run: |
@@ -82,7 +73,6 @@ jobs:
--env ALLOW_NONE_AUTHENTICATION=yes \
--env ETCD_ADVERTISE_CLIENT_URLS=http://etcd-server:2379 \
bitnami/etcd:latest
- name: Install MSSQL
if: ${{ matrix.package == 'mssql' }}
run: |
@@ -99,7 +89,6 @@ jobs:
--health-start-period 10s \
--health-retries 20 \
mcmoe/mssqldocker:latest
- name: Run Benchmarks
working-directory: ${{ matrix.package }}
run: |
@@ -130,13 +119,11 @@ jobs:
TEST_SURREALDB_IMAGE: "surrealdb/surrealdb:latest"
TEST_VALKEY_IMAGE: "valkey/valkey:8"
COHERENCE_LOG_LEVEL: "ERROR"
- name: Get Previous Benchmark Results
uses: actions/cache@v4
with:
path: ./cache
key: ${{ runner.os }}-benchmark-${{ matrix.package }}
- name: Save Benchmark Results
uses: benchmark-action/github-action-benchmark@v1.20.4
with:
@@ -150,5 +137,3 @@ jobs:
#summary-always: ${{ github.event_name != 'push' && github.event_name != 'workflow_dispatch' }}
auto-push: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
save-data-file: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}

View File

@@ -2,11 +2,9 @@ name: Dependabot auto-merge
on:
workflow_dispatch:
pull_request_target:
permissions:
contents: write
pull-requests: write
jobs:
wait_for_checks:
runs-on: ubuntu-latest

View File

@@ -1,5 +1,4 @@
name: Golangci-Lint Check
on:
push:
branches:
@@ -18,9 +17,7 @@ on:
- LICENSE
- ".github/ISSUE_TEMPLATE/*.yml"
- ".github/dependabot.yml"
workflow_dispatch:
jobs:
changes:
runs-on: ubuntu-latest
@@ -29,7 +26,6 @@ jobs:
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Generate filters
id: filter-setup
run: |
@@ -41,7 +37,6 @@ jobs:
echo "$testhelpers_filters" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
shell: bash
- name: Filter changes
id: filter
uses: dorny/paths-filter@v3
@@ -49,7 +44,6 @@ jobs:
filters: ${{ steps.filter-setup.outputs.filters }}
outputs:
packages: ${{ steps.filter.outputs.changes || '[]' }}
lint:
needs: changes
runs-on: ubuntu-latest

View File

@@ -1,12 +1,10 @@
name: Release Drafter (All)
on:
push:
branches:
- master
- main
workflow_dispatch:
jobs:
changes:
runs-on: ubuntu-latest
@@ -15,7 +13,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Generate filters
id: filter-setup
run: |
@@ -29,10 +26,8 @@ jobs:
uses: dorny/paths-filter@v3
with:
filters: ${{ steps.filter-setup.outputs.filters }}
outputs:
packages: ${{ steps.filter.outputs.changes || '[]' }}
release-drafter:
needs: changes
runs-on: ubuntu-latest
@@ -46,7 +41,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Generate dynamic config from template
id: generate-config
run: |
@@ -55,9 +49,7 @@ jobs:
echo "config<<EOF" >> $GITHUB_OUTPUT
cat .github/release-drafter-$folder.yml >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Use dynamic release-drafter configuration
uses: ReneWerner87/release-drafter@6dec4ceb1fb86b6514f11a2e7a39e1dedce709d0
with:
config: ${{ steps.generate-config.outputs.config }}

View File

@@ -1,5 +1,4 @@
name: 'Sync docs'
on:
push:
branches:
@@ -11,9 +10,7 @@ on:
types: [published]
branches:
- '*/v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:
jobs:
sync-docs:
runs-on: ubuntu-latest
@@ -23,15 +20,12 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Install JQ
run: sudo apt-get install jq
- name: Sync docs
run: ./.github/scripts/sync_docs.sh
env:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'aerospike/**'
workflow_dispatch:
name: "Tests Aerospike"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'arangodb/**'
workflow_dispatch:
name: "Tests ArangoDB"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'azureblob/**'
workflow_dispatch:
name: "Tests Azure Blob"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'badger/**'
workflow_dispatch:
name: "Tests Badger"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'bbolt/**'
workflow_dispatch:
name: "Tests Bbolt"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'cassandra/**'
workflow_dispatch:
name: 'Tests Cassandra'
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'clickhouse/**'
workflow_dispatch:
name: 'Tests Clickhouse'
jobs:
Tests:

View File

@@ -1,5 +1,4 @@
name: Tests CloudflareKV
on:
push:
branches:
@@ -10,9 +9,7 @@ on:
pull_request:
paths:
- 'cloudflarekv/**'
workflow_dispatch:
jobs:
Tests:
runs-on: ubuntu-latest
@@ -23,22 +20,18 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Start Wrangler Dev
run: |
.github/scripts/initialize-wrangler.sh
cd cloudflarekv && npx wrangler dev &
npx wait-on tcp:8787
- name: Run Go Tests
run: cd cloudflarekv && go test ./... -v -race

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'coherence/**'
workflow_dispatch:
name: "Tests Coherence"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'couchbase/**'
workflow_dispatch:
name: "Tests Couchbase"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'dynamodb/**'
workflow_dispatch:
name: "Tests DynamoDB"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'etcd/**'
workflow_dispatch:
name: "Tests Etcd"
jobs:
Tests:
@@ -29,7 +28,6 @@ jobs:
--env ALLOW_NONE_AUTHENTICATION=yes \
--env ETCD_ADVERTISE_CLIENT_URLS=http://etcd-server:2379 \
milvus-io/etcd:latest
- name: Install Go
uses: actions/setup-go@v6
with:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'leveldb/**'
workflow_dispatch:
name: "Tests LevelDB"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'memcache/**'
workflow_dispatch:
name: "Tests Memcache"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'memory/**'
workflow_dispatch:
name: "Tests Local Storage"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'minio/**'
workflow_dispatch:
name: "Tests Minio"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'mockstorage/**'
workflow_dispatch:
name: "Tests Local Storage"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'mongodb/**'
workflow_dispatch:
name: "Tests Mongodb"
jobs:
Tests:
@@ -29,4 +28,3 @@ jobs:
env:
TEST_MONGODB_IMAGE: docker.io/mongo:7
run: cd ./mongodb && go test ./... -v -race

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'mssql/**'
workflow_dispatch:
name: "Tests MSSQL"
jobs:
Tests:
@@ -26,11 +25,7 @@ jobs:
MSSQL_USER: sa
MSSQL_PASSWORD: MsSql!1234
options: >-
--health-cmd "/opt/mssql-tools/bin/sqlcmd -U sa -P $SA_PASSWORD -Q 'select 1' -b -o /dev/null"
--health-interval 1s
--health-timeout 30s
--health-start-period 10s
--health-retries 20
--health-cmd "/opt/mssql-tools/bin/sqlcmd -U sa -P $SA_PASSWORD -Q 'select 1' -b -o /dev/null" --health-interval 1s --health-timeout 30s --health-start-period 10s --health-retries 20
strategy:
matrix:
go-version:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'mysql/**'
workflow_dispatch:
name: "Tests MySQL"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'nats/**'
workflow_dispatch:
name: "Tests Nats Driver"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'neo4j/**'
workflow_dispatch:
name: "Tests Neo4j"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- "pebble/**"
workflow_dispatch:
name: "Tests pebble"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'postgres/**'
workflow_dispatch:
name: "Tests Postgres"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'redis/**'
workflow_dispatch:
name: "Tests Redis"
jobs:
Tests:
@@ -24,7 +23,6 @@ jobs:
steps:
- name: Fetch Repository
uses: actions/checkout@v6
- name: Setup Redis Cluster
uses: vishnudxb/redis-cluster@1.0.9
with:
@@ -35,15 +33,12 @@ jobs:
slave2-port: 7004
slave3-port: 7005
sleep-duration: 10
- name: Wait for Redis to Start
run: sleep 15
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: '${{ matrix.go-version }}'
- name: Run Test
env:
TEST_REDIS_IMAGE: "docker.io/redis:${{ matrix.redis }}"

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'ristretto/**'
workflow_dispatch:
name: "Tests Ristretto"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'rueidis/**'
workflow_dispatch:
name: "Tests Rueidis"
jobs:
Tests:
@@ -24,7 +23,6 @@ jobs:
steps:
- name: Fetch Repository
uses: actions/checkout@v6
- name: Setup Redis Cluster
uses: vishnudxb/redis-cluster@1.0.9
with:
@@ -35,12 +33,10 @@ jobs:
slave2-port: 7004
slave3-port: 7005
sleep-duration: 10
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: '${{ matrix.go-version }}'
- name: Run Test
env:
TEST_REDIS_IMAGE: "docker.io/redis:${{ matrix.redis }}"

View File

@@ -9,7 +9,6 @@ on:
paths:
- 's3/**'
workflow_dispatch:
name: "Tests S3"
jobs:
Tests:

View File

@@ -8,29 +8,22 @@ on:
pull_request:
paths:
- 'scylladb/**'
workflow_dispatch:
name: "Tests ScyllaDb"
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- 1.24.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_SCYLLADB_IMAGE: "scylladb/scylla:6.2"

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'sqlite3/**'
workflow_dispatch:
name: "Tests Sqlite3"
jobs:
Tests:

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'surrealdb/**'
workflow_dispatch:
name: "Tests SurrealDB"
jobs:
Tests:
@@ -25,7 +24,6 @@ jobs:
uses: actions/setup-go@v6
with:
go-version: '${{ matrix.go-version }}'
- name: Run Test
env:
TEST_SURREALDB_IMAGE: surrealdb/surrealdb:latest

View File

@@ -9,7 +9,6 @@ on:
paths:
- 'testhelpers/redis/**'
workflow_dispatch:
name: "Tests TestHelper Redis"
jobs:
Tests:
@@ -24,12 +23,10 @@ jobs:
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_REDIS_IMAGE: "docker.io/redis:${{ matrix.redis }}"

View File

@@ -10,7 +10,6 @@ on:
- 'valkey/**'
- '.github/workflows/test-valkey.yml'
workflow_dispatch:
name: "Tests Valkey"
jobs:
Tests:
@@ -25,7 +24,6 @@ jobs:
steps:
- name: Fetch Repository
uses: actions/checkout@v6
- name: Setup Valkey Cluster
uses: vishnudxb/redis-cluster@1.0.9
with:
@@ -36,12 +34,10 @@ jobs:
slave2-port: 7004
slave3-port: 7005
sleep-duration: 10
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: '${{ matrix.go-version }}'
- name: Run Test
env:
TEST_VALKEY_IMAGE: "valkey/valkey:${{ matrix.valkey }}"