Skip to content

Commit ad031b8

Browse files
authored
chore: try format yaml files (#3364)
1 parent 429972b commit ad031b8

38 files changed

Lines changed: 340 additions & 320 deletions

.asf.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ github:
3939
whatever: Just a placeholder to make it take effects
4040

4141
notifications:
42-
commits: commits@opendal.apache.org
43-
issues: commits@opendal.apache.org
42+
commits: commits@opendal.apache.org
43+
issues: commits@opendal.apache.org
4444
pullrequests: commits@opendal.apache.org
45-
discussions: commits@opendal.apache.org
45+
discussions: commits@opendal.apache.org
4646

4747
publish:
4848
whoami: gh-pages

.github/actions/behavior_test_binding_java/action.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@ inputs:
2828
runs:
2929
using: "composite"
3030
steps:
31-
- name: Setup
32-
shell: bash
33-
run: |
34-
mkdir -p ./dynamic_test_binding_java &&
35-
cat <<EOF >./dynamic_test_binding_java/action.yml
36-
runs:
37-
using: composite
38-
steps:
39-
- name: Setup Test
40-
uses: ./.github/services/${{ inputs.service }}/${{ inputs.setup }}
41-
- name: Run Test Binding Java
42-
shell: bash
43-
working-directory: bindings/java
44-
run: ./mvnw test -Dtest="behavior.*Test" -Dcargo-build.features=${{ inputs.feature }}
45-
env:
46-
OPENDAL_TEST: ${{ inputs.service }}
47-
EOF
48-
- name: Run
49-
uses: ./dynamic_test_binding_java
31+
- name: Setup
32+
shell: bash
33+
run: |
34+
mkdir -p ./dynamic_test_binding_java &&
35+
cat <<EOF >./dynamic_test_binding_java/action.yml
36+
runs:
37+
using: composite
38+
steps:
39+
- name: Setup Test
40+
uses: ./.github/services/${{ inputs.service }}/${{ inputs.setup }}
41+
- name: Run Test Binding Java
42+
shell: bash
43+
working-directory: bindings/java
44+
run: ./mvnw test -Dtest="behavior.*Test" -Dcargo-build.features=${{ inputs.feature }}
45+
env:
46+
OPENDAL_TEST: ${{ inputs.service }}
47+
EOF
48+
- name: Run
49+
uses: ./dynamic_test_binding_java

.github/actions/behavior_test_core/action.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@ inputs:
2828
runs:
2929
using: "composite"
3030
steps:
31-
- name: Setup
32-
shell: bash
33-
run: |
34-
mkdir -p ./dynamic_test_core &&
35-
cat <<EOF >./dynamic_test_core/action.yml
36-
runs:
37-
using: composite
38-
steps:
39-
- name: Setup Test Core
40-
uses: ./.github/services/${{ inputs.service }}/${{ inputs.setup }}
41-
- name: Run Test Core
42-
shell: bash
43-
working-directory: core
44-
run: cargo nextest run behavior --features ${{ inputs.feature }}
45-
env:
46-
OPENDAL_TEST: ${{ inputs.service }}
47-
EOF
48-
- name: Run
49-
uses: ./dynamic_test_core
31+
- name: Setup
32+
shell: bash
33+
run: |
34+
mkdir -p ./dynamic_test_core &&
35+
cat <<EOF >./dynamic_test_core/action.yml
36+
runs:
37+
using: composite
38+
steps:
39+
- name: Setup Test Core
40+
uses: ./.github/services/${{ inputs.service }}/${{ inputs.setup }}
41+
- name: Run Test Core
42+
shell: bash
43+
working-directory: core
44+
run: cargo nextest run behavior --features ${{ inputs.feature }}
45+
env:
46+
OPENDAL_TEST: ${{ inputs.service }}
47+
EOF
48+
- name: Run
49+
uses: ./dynamic_test_core

.github/actions/setup-ocaml/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
name: Setup OCaml
18+
name: Setup OCaml
1919
description: 'Prepare OCaml Build Environment'
2020
inputs:
2121
need-depext:
@@ -38,4 +38,4 @@ runs:
3838
run: opam env | tr '\n' ' ' >> $GITHUB_ENV
3939
- name: Add Opam switch to PATH
4040
shell: bash
41-
run: opam var bin >> $GITHUB_PATH
41+
run: opam var bin >> $GITHUB_PATH

.github/actions/setup/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ runs:
5656
if: inputs.need-protoc == 'true'
5757
uses: arduino/setup-protoc@v2
5858
with:
59-
version: "23.4"
60-
repo-token: ${{ inputs.github-token }}
59+
version: "23.4"
60+
repo-token: ${{ inputs.github-token }}
6161

6262
- name: Cache nextest on linux
6363
id: cache-nextest

.github/labeler.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
# under the License.
1717

1818
releases-note/feat:
19-
- '^feat'
19+
- '^feat'
2020
releases-note/refactor:
21-
- '^refactor'
21+
- '^refactor'
2222
releases-note/fix:
23-
- '^fix'
23+
- '^fix'
2424
releases-note/docs:
25-
- '^doc'
25+
- '^doc'
2626
releases-note/ci:
27-
- '^ci'
27+
- '^ci'
2828
releases-note/build:
29-
- '^build'
29+
- '^build'
3030
releases-note/chore:
31-
- '^chore'
31+
- '^chore'

.github/services/etcd/etcd-cluster-tls/action.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ name: etcd-cluster-tls
1919
description: 'Behavior test for etcd-cluster-tls'
2020

2121
runs:
22-
using: "composite"
23-
steps:
22+
using: "composite"
23+
steps:
2424
- name: Copy Etcd Certificate Files
2525
shell: bash
2626
working-directory: fixtures
@@ -34,12 +34,12 @@ runs:
3434
- name: Setup
3535
shell: bash
3636
run: |
37-
cat << EOF >> $GITHUB_ENV
38-
OPENDAL_ETCD_ENDPOINTS=https://127.0.0.1:23790,https://127.0.0.1:23791,https://127.0.0.1:23792
39-
OPENDAL_ETCD_ROOT=/tmp/opendal
40-
OPENDAL_ETCD_USERNAME=root
41-
OPENDAL_ETCD_PASSWORD=opendal
42-
OPENDAL_ETCD_CA_PATH=/tmp/etcd/ca.pem
43-
OPENDAL_ETCD_CERT_PATH=/tmp/etcd/client.pem
44-
OPENDAL_ETCD_KEY_PATH=/tmp/etcd/client-key.pem
45-
EOF
37+
cat << EOF >> $GITHUB_ENV
38+
OPENDAL_ETCD_ENDPOINTS=https://127.0.0.1:23790,https://127.0.0.1:23791,https://127.0.0.1:23792
39+
OPENDAL_ETCD_ROOT=/tmp/opendal
40+
OPENDAL_ETCD_USERNAME=root
41+
OPENDAL_ETCD_PASSWORD=opendal
42+
OPENDAL_ETCD_CA_PATH=/tmp/etcd/ca.pem
43+
OPENDAL_ETCD_CERT_PATH=/tmp/etcd/client.pem
44+
OPENDAL_ETCD_KEY_PATH=/tmp/etcd/client-key.pem
45+
EOF

.github/services/etcd/etcd-cluster/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ name: etcd-cluster
1919
description: 'Behavior test for etcd-cluster'
2020

2121
runs:
22-
using: "composite"
23-
steps:
22+
using: "composite"
23+
steps:
2424
- name: Setup etcd cluster
2525
shell: bash
2626
working-directory: fixtures/etcd
2727
run: docker-compose -f docker-compose-cluster.yml up -d
2828
- name: Setup
2929
shell: bash
3030
run: |
31-
cat << EOF >> $GITHUB_ENV
32-
OPENDAL_ETCD_ENDPOINTS=http://127.0.0.1:23790,http://127.0.0.1:23791,http://127.0.0.1:23792
33-
OPENDAL_ETCD_ROOT=/tmp/opendal
34-
EOF
31+
cat << EOF >> $GITHUB_ENV
32+
OPENDAL_ETCD_ENDPOINTS=http://127.0.0.1:23790,http://127.0.0.1:23791,http://127.0.0.1:23792
33+
OPENDAL_ETCD_ROOT=/tmp/opendal
34+
EOF

.github/services/etcd/etcd/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ name: etcd
1919
description: 'Behavior test for etcd stanlone'
2020

2121
runs:
22-
using: "composite"
23-
steps:
22+
using: "composite"
23+
steps:
2424
- name: Setup etcd cluster
2525
shell: bash
2626
working-directory: fixtures/etcd
2727
run: docker-compose -f docker-compose-stanlone.yml up -d
2828
- name: Setup
2929
shell: bash
3030
run: |
31-
cat << EOF >> $GITHUB_ENV
32-
OPENDAL_ETCD_ENDPOINTS=http://127.0.0.1:2379
33-
OPENDAL_ETCD_ROOT=/tmp/opendal
34-
EOF
31+
cat << EOF >> $GITHUB_ENV
32+
OPENDAL_ETCD_ENDPOINTS=http://127.0.0.1:2379
33+
OPENDAL_ETCD_ROOT=/tmp/opendal
34+
EOF

.github/services/fs/local_fs/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ name: local_fs
1919
description: 'Behavior test for local fs'
2020

2121
runs:
22-
using: "composite"
23-
steps:
24-
- name: Setup
25-
shell: bash
26-
run: |
27-
echo "OPENDAL_FS_ROOT=${{ runner.temp }}/" >> $GITHUB_ENV
22+
using: "composite"
23+
steps:
24+
- name: Setup
25+
shell: bash
26+
run: |
27+
echo "OPENDAL_FS_ROOT=${{ runner.temp }}/" >> $GITHUB_ENV

0 commit comments

Comments
 (0)