Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
c263aec7
Commit
c263aec7
authored
Feb 13, 2021
by
John Bampton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: add the spell checker Action to the Lint Action file
Order jobs in workflow.
parent
da6c4ed1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
35 deletions
+30
-35
.github/workflows/lint.yml
.github/workflows/lint.yml
+30
-18
.github/workflows/spell-checker.yml
.github/workflows/spell-checker.yml
+0
-17
No files found.
.github/workflows/lint.yml
View file @
c263aec7
...
...
@@ -3,23 +3,6 @@ name: ❄️ Lint
on
:
[
pull_request
]
jobs
:
yamllint
:
name
:
🍶 YAML
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
with
:
python-version
:
'
3.x'
# Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture
:
'
x64'
# optional x64 or x86. Defaults to x64 if not specified
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install yamllint
-
name
:
🧹 YAML Lint
run
:
|
# return non-zero exit code on warnings
yamllint --strict .
markdownlint
:
name
:
🍸 Markdown
runs-on
:
ubuntu-latest
...
...
@@ -31,8 +14,20 @@ jobs:
node-version
:
'
12.x'
-
run
:
npm install -g markdownlint-cli@0.25.0
-
run
:
markdownlint '**/*.md'
misspell
:
name
:
🥛 Check Spelling
runs-on
:
ubuntu-latest
steps
:
-
name
:
🍒 Check Out
uses
:
actions/checkout@v2
-
name
:
🍅 Install
run
:
|
wget -O - -q https://git.io/misspell | sh -s -- -b .
-
name
:
🌶️ Misspell
run
:
|
git ls-files --empty-directory | xargs ./misspell -error
trailing-whitespace
:
name
:
🌌
Trailing whitespace
name
:
🧋
Trailing whitespace
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
...
...
@@ -40,3 +35,20 @@ jobs:
run
:
|
cd test || exit
sh ./check-for-trailing-whitespace.sh || exit 1
yamllint
:
name
:
🍶 YAML
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
with
:
python-version
:
'
3.x'
# Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture
:
'
x64'
# optional x64 or x86. Defaults to x64 if not specified
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install yamllint
-
name
:
🧹 YAML Lint
run
:
|
# return non-zero exit code on warnings
yamllint --strict .
.github/workflows/spell-checker.yml
deleted
100644 → 0
View file @
da6c4ed1
name
:
💎 Spellchecker
on
:
[
pull_request
]
jobs
:
misspell
:
name
:
🧹 Check Spelling
runs-on
:
ubuntu-latest
steps
:
-
name
:
🍒 Check Out
uses
:
actions/checkout@v2
-
name
:
🍅 Install
run
:
|
wget -O - -q https://git.io/misspell | sh -s -- -b .
-
name
:
🌶️ Misspell
run
:
|
git ls-files --empty-directory | xargs ./misspell -error
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment