mirror of https://github.com/docusealco/docuseal
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							26 lines
						
					
					
						
							668 B
						
					
					
				
			
		
		
	
	
							26 lines
						
					
					
						
							668 B
						
					
					
				name: Rubocop
 | 
						|
on: [push]
 | 
						|
jobs:
 | 
						|
  rubocop:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
      - uses: actions/checkout@v2
 | 
						|
      - name: Install Ruby
 | 
						|
        uses: ruby/setup-ruby@v1
 | 
						|
        with:
 | 
						|
          ruby-version: 3.2.2
 | 
						|
      - name: Cache gems
 | 
						|
        uses: actions/cache@v1
 | 
						|
        with:
 | 
						|
          path: vendor/bundle
 | 
						|
          key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
 | 
						|
          restore-keys: |
 | 
						|
                        ${{ runner.os }}-gem-
 | 
						|
      - name: Install gems
 | 
						|
        run: |
 | 
						|
          gem install bundler
 | 
						|
          bundle config path vendor/bundle
 | 
						|
          bundle install --jobs 4 --retry 4          
 | 
						|
      - name: Run RuboCop
 | 
						|
        run: bundle exec rubocop
 |