From 343dae81456d3406e2ccac745e84af19f4e947b0 Mon Sep 17 00:00:00 2001 From: Nikolay Panov Date: Thu, 18 Jun 2020 13:09:41 -0700 Subject: [PATCH 1/2] Create linter.yml --- .github/workflows/linter.yml | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/linter.yml diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..3085dce --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,46 @@ +--- +########################### +########################### +## Linter GitHub Actions ## +########################### +########################### +name: Lint Code Base + +# +# Documentation: +# https://help.github.com/en/articles/workflow-syntax-for-github-actions +# + +############################# +# Start the job on all push # +############################# +on: + push: + branches-ignore: + - 'master' + +############### +# Set the Job # +############### +jobs: + build: + # Name the Job + name: Lint Code Base + # Set the agent to run on + runs-on: ubuntu-latest + + ################## + # Load all steps # + ################## + steps: + ########################## + # Checkout the code base # + ########################## + - name: Checkout Code + uses: actions/checkout@v2 + + ################################ + # Run Linter against code base # + ################################ + - name: Lint Code Base + uses: github/super-linter@v2.0.0 From ef68bd6a644933b25a5ca14f3a6940455743b1b4 Mon Sep 17 00:00:00 2001 From: Nikolay Panov Date: Thu, 18 Jun 2020 13:18:29 -0700 Subject: [PATCH 2/2] Update README.md Fixed markdownlint error. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 096dbff..b318d81 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ URI Normalization function: * For schemes that define a port, use an empty port if the default is desired * All portions of the URI must be utf-8 encoded NFC from Unicode strings -Inspired by Sam Ruby's urlnorm.py: http://intertwingly.net/blog/2004/08/04/Urlnorm +Inspired by Sam Ruby's [urlnorm.py](http://intertwingly.net/blog/2004/08/04/Urlnorm) Example: