mirror of
https://github.com/gofiber/storage.git
synced 2025-12-19 00:38:24 +08:00
Format yaml files with github.com/google/yamlfmt/cmd/yamlfmt
This commit is contained in:
26
.github/workflows/auto-labeler.yml
vendored
26
.github/workflows/auto-labeler.yml
vendored
@@ -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
|
||||
|
||||
6
.github/workflows/benchmark.yml
vendored
6
.github/workflows/benchmark.yml
vendored
@@ -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: |
|
||||
|
||||
21
.github/workflows/test-etcd.yml
vendored
21
.github/workflows/test-etcd.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user