mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	fix superlinter dependencies & others
This commit is contained in:
		
							parent
							
								
									737e0faef7
								
							
						
					
					
						commit
						9402ae2abb
					
				
					 1 changed files with 37 additions and 16 deletions
				
			
		
							
								
								
									
										53
									
								
								.github/workflows/linter.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										53
									
								
								.github/workflows/linter.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -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: [ '*' ]
 | 
			
		||||
    branches: [master]
 | 
			
		||||
  pull_request:
 | 
			
		||||
    branches: [ master ]
 | 
			
		||||
    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
 | 
			
		||||
| 
						 | 
				
			
			@ -55,5 +77,4 @@ jobs:
 | 
			
		|||
        VALIDATE_RUBY: false
 | 
			
		||||
        VALIDATE_TSX: false
 | 
			
		||||
        VALIDATE_TERRAFORM: false
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue