-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 215-merge-conflicts
- Loading branch information
Showing
351 changed files
with
2,515 additions
and
1,257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: lint-brightscript | ||
on: | ||
pull_request: | ||
paths: | ||
- "**/*.brs" | ||
- "**/*.bs" | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "lts/*" | ||
cache: "npm" | ||
- run: npm ci | ||
- run: npx ropm install | ||
- run: npm run validate | ||
- run: npm run check-formatting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: lint-json | ||
on: | ||
pull_request: | ||
paths: | ||
- "!docs/api/**" | ||
- "**/*.json" | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone github repo | ||
uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "lts/*" | ||
cache: "npm" | ||
- name: Install npm dependencies | ||
run: npm ci | ||
- name: Install roku package dependencies | ||
run: npx ropm install | ||
- name: Validate JSON syntax | ||
run: npm run lint-json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: lint-markdown | ||
on: | ||
pull_request: | ||
paths: | ||
- "**/*.md" | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone github repo | ||
uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "lts/*" | ||
cache: "npm" | ||
- name: Install npm dependencies | ||
run: npm ci | ||
- name: Install roku package dependencies | ||
run: npx ropm install | ||
- uses: xt0rted/markdownlint-problem-matcher@1a5fabfb577370cfdf5af944d418e4be3ea06f27 # v3 | ||
- name: Lint markdown files | ||
run: npm run lint-markdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: lint-spelling | ||
on: | ||
pull_request: | ||
paths: | ||
- "**/*.md" | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone github repo | ||
uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "lts/*" | ||
cache: "npm" | ||
- name: Install npm dependencies | ||
run: npm ci | ||
- name: Install roku package dependencies | ||
run: npx ropm install | ||
- name: Check markdown files for spelling errors | ||
run: npm run lint-spelling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: lint-translation-files | ||
on: | ||
pull_request: | ||
paths: | ||
- "locale/*/*.ts" | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone github repo | ||
uses: actions/checkout@master | ||
- name: Install xmllint and xmlstarlet using apt (from cache) | ||
uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
packages: libxml2-utils xmlstarlet | ||
- name: Validate XML syntax | ||
run: xmllint --noout ./locale/en_US/translations.ts | ||
- name: Save output of duplicate check | ||
run: echo "tsDuplicates=$(xmlstarlet sel -t -m '/TS/context/message/source' -c '.' -nl ./locale/en_US/translations.ts | sort | uniq -d | awk '{ printf "%s", $0 }')" >> $GITHUB_ENV | ||
- name: Check for duplicates | ||
run: xmlstarlet sel -t -m '/TS/context/message/source' -f -o ' ' -c '.' -nl ./locale/en_US/translations.ts | sort | uniq -d | ||
- name: Duplicates found | ||
if: env.tsDuplicates != '' | ||
run: exit 1 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.