Move some configuration files out of the repository root (#64303)
This PR cleans up the repository root a bit, moving some of the less relevant config files into the `.config` folder and removing unused ones. Release Notes: - N/A
This commit is contained in:
1 parent
658460cc2b
commit
bcdd06ccc4
13 files changed
+17
-19
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -109,7 +109,7 @@ jobs:
|
|||||||
- name: deploy_docs::lychee_link_check
|
- name: deploy_docs::lychee_link_check
|
||||||
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
|
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
|
||||||
with:
|
with:
|
||||||
args: --no-progress --exclude '^http' './docs/src/**/*'
|
args: --config .config/lychee.toml --no-progress --exclude '^http' './docs/src/**/*'
|
||||||
fail: true
|
fail: true
|
||||||
jobSummary: false
|
jobSummary: false
|
||||||
- name: deploy_docs::install_mdbook
|
- name: deploy_docs::install_mdbook
|
||||||
@@ -126,7 +126,7 @@ jobs:
|
|||||||
- name: deploy_docs::lychee_link_check
|
- name: deploy_docs::lychee_link_check
|
||||||
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
|
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
|
||||||
with:
|
with:
|
||||||
args: --no-progress --exclude '^http' 'target/deploy/docs'
|
args: --config .config/lychee.toml --no-progress --exclude '^http' 'target/deploy/docs'
|
||||||
fail: true
|
fail: true
|
||||||
jobSummary: false
|
jobSummary: false
|
||||||
- name: deploy_docs::docs_deploy_steps::deploy_to_cf_pages
|
- name: deploy_docs::docs_deploy_steps::deploy_to_cf_pages
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ jobs:
|
|||||||
- name: run_tests::check_style::check_for_typos
|
- name: run_tests::check_style::check_for_typos
|
||||||
uses: crate-ci/typos@2d0ce569feab1f8752f1dde43cc2f2aa53236e06
|
uses: crate-ci/typos@2d0ce569feab1f8752f1dde43cc2f2aa53236e06
|
||||||
with:
|
with:
|
||||||
config: ./typos.toml
|
config: ./.config/typos.toml
|
||||||
- name: run_tests::fetch_ts_query_ls
|
- name: run_tests::fetch_ts_query_ls
|
||||||
run: gh release download v3.15.1 --repo ribru17/ts_query_ls --pattern ts_query_ls-x86_64-unknown-linux-gnu.tar.gz --dir "$GITHUB_WORKSPACE"
|
run: gh release download v3.15.1 --repo ribru17/ts_query_ls --pattern ts_query_ls-x86_64-unknown-linux-gnu.tar.gz --dir "$GITHUB_WORKSPACE"
|
||||||
env:
|
env:
|
||||||
@@ -755,7 +755,7 @@ jobs:
|
|||||||
- name: deploy_docs::lychee_link_check
|
- name: deploy_docs::lychee_link_check
|
||||||
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
|
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
|
||||||
with:
|
with:
|
||||||
args: --no-progress --exclude '^http' './docs/src/**/*'
|
args: --config .config/lychee.toml --no-progress --exclude '^http' './docs/src/**/*'
|
||||||
fail: true
|
fail: true
|
||||||
jobSummary: false
|
jobSummary: false
|
||||||
- name: deploy_docs::install_mdbook
|
- name: deploy_docs::install_mdbook
|
||||||
@@ -772,7 +772,7 @@ jobs:
|
|||||||
- name: deploy_docs::lychee_link_check
|
- name: deploy_docs::lychee_link_check
|
||||||
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
|
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332
|
||||||
with:
|
with:
|
||||||
args: --no-progress --exclude '^http' 'target/deploy/docs'
|
args: --config .config/lychee.toml --no-progress --exclude '^http' 'target/deploy/docs'
|
||||||
fail: true
|
fail: true
|
||||||
jobSummary: false
|
jobSummary: false
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
{
|
{
|
||||||
"languages": {
|
"languages": {
|
||||||
|
"Docker Compose": {
|
||||||
|
"tab_size": 2,
|
||||||
|
},
|
||||||
"Markdown": {
|
"Markdown": {
|
||||||
"tab_size": 2,
|
"tab_size": 2,
|
||||||
"formatter": "prettier",
|
"formatter": "prettier",
|
||||||
|
|||||||
+1
-1
@@ -20,4 +20,4 @@ services:
|
|||||||
- 7881:7881
|
- 7881:7881
|
||||||
- 7882:7882/udp
|
- 7882:7882/udp
|
||||||
volumes:
|
volumes:
|
||||||
- ./livekit.yaml:/livekit.yaml
|
- ./.config/livekit.yaml:/livekit.yaml
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>com.apple.security.get-task-allow</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
+2
-2
@@ -25,8 +25,8 @@ cargo install lychee
|
|||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
if [ "$check_mode" = "all" ]; then
|
if [ "$check_mode" = "all" ]; then
|
||||||
lychee --no-progress './docs/src/**/*'
|
lychee --config .config/lychee.toml --no-progress './docs/src/**/*'
|
||||||
else
|
else
|
||||||
lychee --exclude '^http' './docs/src/**/*'
|
lychee --config .config/lychee.toml --exclude '^http' './docs/src/**/*'
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
+1
-1
@@ -15,7 +15,7 @@ if [[ -z "${GITHUB_ACTIONS+x}" ]]; then
|
|||||||
cargo shear --locked --deny-warnings
|
cargo shear --locked --deny-warnings
|
||||||
|
|
||||||
which typos >/dev/null 2>&1 || exit 0
|
which typos >/dev/null 2>&1 || exit 0
|
||||||
typos --config typos.toml
|
typos --config .config/typos.toml
|
||||||
|
|
||||||
which buf >/dev/null 2>&1 || exit 0
|
which buf >/dev/null 2>&1 || exit 0
|
||||||
buf lint crates/proto/proto
|
buf lint crates/proto/proto
|
||||||
|
|||||||
@@ -52,7 +52,10 @@ pub(crate) fn lychee_link_check(dir: &str) -> Step<Use> {
|
|||||||
"lychee-action",
|
"lychee-action",
|
||||||
"82202e5e9c2f4ef1a55a3d02563e1cb6041e5332",
|
"82202e5e9c2f4ef1a55a3d02563e1cb6041e5332",
|
||||||
) // v2.4.1
|
) // v2.4.1
|
||||||
.add_with(("args", format!("--no-progress --exclude '^http' '{dir}'")))
|
.add_with((
|
||||||
|
"args",
|
||||||
|
format!("--config .config/lychee.toml --no-progress --exclude '^http' '{dir}'"),
|
||||||
|
))
|
||||||
.add_with(("fail", true))
|
.add_with(("fail", true))
|
||||||
.add_with(("jobSummary", false))
|
.add_with(("jobSummary", false))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -427,7 +427,7 @@ fn check_style() -> NamedJob {
|
|||||||
"typos",
|
"typos",
|
||||||
"2d0ce569feab1f8752f1dde43cc2f2aa53236e06",
|
"2d0ce569feab1f8752f1dde43cc2f2aa53236e06",
|
||||||
) // v1.40.0
|
) // v1.40.0
|
||||||
.with(("config", "./typos.toml"))
|
.with(("config", "./.config/typos.toml"))
|
||||||
}
|
}
|
||||||
|
|
||||||
named::job(
|
named::job(
|
||||||
|
|||||||
Reference in new issue
Block a user