Skip to content

Commit

Permalink
Add super-linter + fix related issues (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Jun 21, 2020
1 parent 2821013 commit 66de5d3
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 5 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -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: docker://github/super-linter:v2.1.0
10 changes: 5 additions & 5 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
title: "Istio webinar",
description: "Using Istio to control traffic flow without changing your application",
title: 'Istio webinar',
description: 'Using Istio to control traffic flow without changing your application',
base: '/k8s-istio-webinar/',
head: [
['link', { rel: "icon", href: "/favicon.ico" }]
['link', { rel: 'icon', href: '/favicon.ico' }]
],
themeConfig: {
displayAllHeaders: true,
Expand All @@ -19,7 +19,7 @@ module.exports = {
items: [
{ text: 'Istio', link: 'https://istio.io/' },
{ text: 'Istio docs', link: 'https://istio.io/docs/' },
{ text: 'Istio webinar', link: 'https://github.com/ruzickap/k8s-istio-webinar' },
{ text: 'Istio webinar', link: 'https://github.com/ruzickap/k8s-istio-webinar' }
]
}
],
Expand All @@ -32,7 +32,7 @@ module.exports = {
'/part-05/',
'/part-06/',
'/part-07/',
'/part-08/',
'/part-08/'
]
},
plugins: [
Expand Down

0 comments on commit 66de5d3

Please sign in to comment.