Skip to content

Commit

Permalink
feat(iota): add YAML dprint (#1280)
Browse files Browse the repository at this point in the history
* feat(iota): add YAML dprint

* fmt

* fmt

* manual double quotes
  • Loading branch information
thibault-martinez authored Jul 26, 2024
1 parent b25d97d commit 7676306
Show file tree
Hide file tree
Showing 69 changed files with 1,836 additions and 1,839 deletions.
84 changes: 42 additions & 42 deletions .github/actions/diffs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ outputs:
value: "${{ steps.diff.outputs.isDoc }}"
isOldDoc:
description: True when changes happened to old doc folder
value: "${{ steps.diff.outputs.isOldDoc }}"
value: "${{ steps.diff.outputs.isOldDoc }}"
isRust:
description: True when changes happened to the Rust code
value: "${{ steps.diff.outputs.isRust }}"
Expand All @@ -20,44 +20,44 @@ outputs:
runs:
using: composite
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- name: Detect Changes
uses: dorny/[email protected]
id: diff
with:
filters: |
isRust:
- 'consensus/**'
- 'crates/**'
- 'external-crates/**'
- 'narwhal/**'
- 'sui-execution/**'
- '.github/workflows/codecov.yml'
- '.github/workflows/rust.yml'
- '.github/workflows/external.yml'
isDoc:
- 'docs/content/**'
- '*.mdx'
- '.github/workflows/docs.yml'
isOldDoc:
- 'doc/**'
- '*.md'
isMove:
- 'crates/sui-framework/**'
- 'crates/sui-framework-build/**'
- 'crates/sui-framework-tests/**'
- 'crates/sui_move/**'
- 'Cargo.toml'
- 'examples/**'
- 'sui_programmability/**'
isReleaseNotesEligible:
- 'consensus/**'
- 'crates/**'
- 'dashboards/**'
- 'doc/**'
- 'docker/**'
- 'external-crates/**'
- 'kiosk/**'
- 'narwhal/**'
- 'nre/**'
- 'sui-execution/**'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- name: Detect Changes
uses: dorny/[email protected]
id: diff
with:
filters: |
isRust:
- "consensus/**"
- "crates/**"
- "external-crates/**"
- "narwhal/**"
- "sui-execution/**"
- ".github/workflows/codecov.yml"
- ".github/workflows/rust.yml"
- ".github/workflows/external.yml"
isDoc:
- "docs/content/**"
- "*.mdx"
- ".github/workflows/docs.yml"
isOldDoc:
- "doc/**"
- "*.md"
isMove:
- "crates/sui-framework/**"
- "crates/sui-framework-build/**"
- "crates/sui-framework-tests/**"
- "crates/sui_move/**"
- "Cargo.toml"
- "examples/**"
- "sui_programmability/**"
isReleaseNotesEligible:
- "consensus/**"
- "crates/**"
- "dashboards/**"
- "doc/**"
- "docker/**"
- "external-crates/**"
- "kiosk/**"
- "narwhal/**"
- "nre/**"
- "sui-execution/**"
104 changes: 52 additions & 52 deletions .github/external-crates-filters.yml
Original file line number Diff line number Diff line change
@@ -1,104 +1,104 @@
bytecode-interpreter-crypto:
- "external-crates/move/crates/bytecode-interpreter-crypto/**"
- "external-crates/move/crates/bytecode-interpreter-crypto/**"
bytecode-interpreter-testsuite:
- "external-crates/move/crates/bytecode-interpreter-testsuite/**"
- "external-crates/move/crates/bytecode-interpreter-testsuite/**"
bytecode-verifier-libfuzzer:
- "external-crates/move/crates/bytecode-verifier-libfuzzer/**"
- "external-crates/move/crates/bytecode-verifier-libfuzzer/**"
bytecode-verifier-tests:
- "external-crates/move/crates/bytecode-verifier-tests/**"
- "external-crates/move/crates/bytecode-verifier-tests/**"
bytecode-verifier-transactional-tests:
- "external-crates/move/crates/bytecode-verifier-transactional-tests/**"
- "external-crates/move/crates/bytecode-verifier-transactional-tests/**"
enum-compat-util:
- "external-crates/move/crates/enum-compat-util/**"
- "external-crates/move/crates/enum-compat-util/**"
invalid-mutations:
- "external-crates/move/crates/invalid-mutations/**"
- "external-crates/move/crates/invalid-mutations/**"
language-benchmarks:
- "external-crates/move/crates/language-benchmarks/**"
- "external-crates/move/crates/language-benchmarks/**"
module-generation:
- "external-crates/move/crates/module-generation/**"
- "external-crates/move/crates/module-generation/**"
move-abstract-stack:
- "external-crates/move/crates/move-abstract-stack/**"
- "external-crates/move/crates/move-abstract-stack/**"
move-analyzer:
- "external-crates/move/crates/move-analyzer/**"
- "external-crates/move/crates/move-analyzer/**"
move-binary-format:
- "external-crates/move/crates/move-binary-format/**"
- "external-crates/move/crates/move-binary-format/**"
move-borrow-graph:
- "external-crates/move/crates/move-borrow-graph/**"
- "external-crates/move/crates/move-borrow-graph/**"
move-bytecode-source-map:
- "external-crates/move/crates/move-bytecode-source-map/**"
- "external-crates/move/crates/move-bytecode-source-map/**"
move-bytecode-utils:
- "external-crates/move/crates/move-bytecode-utils/**"
- "external-crates/move/crates/move-bytecode-utils/**"
move-bytecode-verifier:
- "external-crates/move/crates/move-bytecode-verifier/**"
- "external-crates/move/crates/move-bytecode-verifier/**"
move-bytecode-viewer:
- "external-crates/move/crates/move-bytecode-viewer/**"
- "external-crates/move/crates/move-bytecode-viewer/**"
move-cli:
- "external-crates/move/crates/move-cli/**"
- "external-crates/move/crates/move-cli/**"
move-command-line-common:
- "external-crates/move/crates/move-command-line-common/**"
- "external-crates/move/crates/move-command-line-common/**"
move-compiler:
- "external-crates/move/crates/move-compiler/**"
- "external-crates/move/crates/move-compiler/**"
move-compiler-transactional-tests:
- "external-crates/move/crates/move-compiler-transactional-tests/**"
- "external-crates/move/crates/move-compiler-transactional-tests/**"
move-core-types:
- "external-crates/move/crates/move-core-types/**"
- "external-crates/move/crates/move-core-types/**"
move-coverage:
- "external-crates/move/crates/move-coverage/**"
- "external-crates/move/crates/move-coverage/**"
move-disassembler:
- "external-crates/move/crates/move-disassembler/**"
- "external-crates/move/crates/move-disassembler/**"
move-docgen:
- "external-crates/move/crates/move-docgen/**"
- "external-crates/move/crates/move-docgen/**"
move-errmapgen:
- "external-crates/move/crates/move-errmapgen/**"
- "external-crates/move/crates/move-errmapgen/**"
move-explain:
- "external-crates/move/crates/move-explain/**"
- "external-crates/move/crates/move-explain/**"
move-ir-compiler:
- "external-crates/move/crates/move-ir-compiler/**"
- "external-crates/move/crates/move-ir-compiler/**"
move-ir-compiler-transactional-tests:
- "external-crates/move/crates/move-ir-compiler-transactional-tests/**"
- "external-crates/move/crates/move-ir-compiler-transactional-tests/**"
move-ir-to-bytecode:
- "external-crates/move/crates/move-ir-to-bytecode/**"
- "external-crates/move/crates/move-ir-to-bytecode/**"
move-ir-to-bytecode-syntax:
- "external-crates/move/crates/move-ir-to-bytecode-syntax/**"
- "external-crates/move/crates/move-ir-to-bytecode-syntax/**"
move-ir-types:
- "external-crates/move/crates/move-ir-types/**"
- "external-crates/move/crates/move-ir-types/**"
move-model:
- "external-crates/move/crates/move-model/**"
- "external-crates/move/crates/move-model/**"
move-package:
- "external-crates/move/crates/move-package/**"
- "external-crates/move/crates/move-package/**"
move-proc-macros:
- "external-crates/move/crates/move-proc-macros/**"
- "external-crates/move/crates/move-proc-macros/**"
move-prover-test-utils:
- "external-crates/move/crates/move-prover-test-utils/**"
- "external-crates/move/crates/move-prover-test-utils/**"
move-read-write-set-types:
- "external-crates/move/crates/move-read-write-set-types/**"
- "external-crates/move/crates/move-read-write-set-types/**"
move-stackless-bytecode:
- "external-crates/move/crates/move-stackless-bytecode/**"
- "external-crates/move/crates/move-stackless-bytecode/**"
move-stackless-bytecode-interpreter:
- "external-crates/move/crates/move-stackless-bytecode-interpreter/**"
- "external-crates/move/crates/move-stackless-bytecode-interpreter/**"
move-stdlib:
- "external-crates/move/crates/move-stdlib/**"
- "external-crates/move/crates/move-stdlib/**"
move-symbol-pool:
- "external-crates/move/crates/move-symbol-pool/**"
- "external-crates/move/crates/move-symbol-pool/**"
move-transactional-test-runner:
- "external-crates/move/crates/move-transactional-test-runner/**"
- "external-crates/move/crates/move-transactional-test-runner/**"
move-unit-test:
- "external-crates/move/crates/move-unit-test/**"
- "external-crates/move/crates/move-unit-test/**"
move-vm-config:
- "external-crates/move/crates/move-vm-config/**"
- "external-crates/move/crates/move-vm-config/**"
move-vm-integration-tests:
- "external-crates/move/crates/move-vm-integration-tests/**"
- "external-crates/move/crates/move-vm-integration-tests/**"
move-vm-profiler:
- "external-crates/move/crates/move-vm-profiler/**"
- "external-crates/move/crates/move-vm-profiler/**"
move-vm-runtime:
- "external-crates/move/crates/move-vm-runtime/**"
- "external-crates/move/crates/move-vm-runtime/**"
move-vm-test-utils:
- "external-crates/move/crates/move-vm-test-utils/**"
- "external-crates/move/crates/move-vm-test-utils/**"
move-vm-transactional-tests:
- "external-crates/move/crates/move-vm-transactional-tests/**"
- "external-crates/move/crates/move-vm-transactional-tests/**"
move-vm-types:
- "external-crates/move/crates/move-vm-types/**"
- "external-crates/move/crates/move-vm-types/**"
serializer-tests:
- "external-crates/move/crates/serializer-tests/**"
- "external-crates/move/crates/serializer-tests/**"
test-generation:
- "external-crates/move/crates/test-generation/**"
- "external-crates/move/crates/test-generation/**"
4 changes: 2 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Add 'Foo' to any changes within 'bar' folder or any subfolders
"Type: Documentation":
- docs/content/**/*
- docs/content/**/*
"sui-explorer":
- explorer/**/*
- explorer/**/*
8 changes: 4 additions & 4 deletions .github/workflows/apps-backend-production.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
branches:
- develop
paths:
- 'apps/apps-backend/**'
- '.github/workflows/apps-backend-production.deploy.yml'
- "apps/apps-backend/**"
- ".github/workflows/apps-backend-production.deploy.yml"

jobs:
deploy-preview:
Expand All @@ -26,8 +26,8 @@ jobs:
- name: Install Nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected]
with:
node-version: '20'
cache: 'pnpm'
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Turbo Cache
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/apps-explorer-preview.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'apps/explorer/**'
- '.github/workflows/apps-explorer-preview.deploy.yml'
- "apps/explorer/**"
- ".github/workflows/apps-explorer-preview.deploy.yml"

jobs:
deploy-preview:
Expand All @@ -25,8 +25,8 @@ jobs:
- name: Install Nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected]
with:
node-version: '20'
cache: 'pnpm'
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Turbo Cache
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/apps-explorer-production.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
branches:
- develop
paths:
- 'apps/explorer/**'
- '.github/workflows/apps-explorer-production.deploy.yml'
- "apps/explorer/**"
- ".github/workflows/apps-explorer-production.deploy.yml"

jobs:
deploy-prod:
Expand All @@ -26,8 +26,8 @@ jobs:
- name: Install Nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected]
with:
node-version: '20'
cache: 'pnpm'
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Turbo Cache
Expand All @@ -50,4 +50,3 @@ jobs:
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}

Loading

0 comments on commit 7676306

Please sign in to comment.