1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

fix superlinter dependencies & others

This commit is contained in:
catborise 2020-10-14 16:21:05 +03:00 committed by catborise
parent 737e0faef7
commit 9402ae2abb

View file

@ -1,34 +1,56 @@
# This is a basic workflow to help you get started with Actions
###########################
###########################
## Linter GitHub Actions ##
###########################
###########################
name: linter
name: Lint Code Base
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
#############################
# Start the job on all push #
#############################
on:
push:
branches: [ '*' ]
pull_request:
branches: [master]
pull_request:
branches-ignore: [master]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
###############
# Set the Job #
###############
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
##################
# Load all steps #
###################
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@master
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: install libvirt-dev
- name: Install Required packages
run: |
sudo apt-get install -y libvirt-dev
sudo apt-get install -y libvirt-dev python3-lxml zlib1g-dev libxslt1-dev
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
@ -39,8 +61,8 @@ jobs:
- name: Lint Code Base
uses: docker://github/super-linter:latest
env:
FILTER_REGEX_EXCLUDE: .*[static|scss]/.*
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ANSIBLE: false
VALIDATE_CLOJURE: false
VALIDATE_COFFEE: false
@ -56,4 +78,3 @@ jobs:
VALIDATE_TSX: false
VALIDATE_TERRAFORM: false