Añade el plugin Redmine Git Hosting 5.0.0
This commit is contained in:
parent
cfa0d58b18
commit
a3bddad233
458 changed files with 30396 additions and 1 deletions
44
plugins/redmine_git_hosting/.github/workflows/linters.yml
vendored
Normal file
44
plugins/redmine_git_hosting/.github/workflows/linters.yml
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
name: Run Linters
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install package dependencies
|
||||
run: >
|
||||
sudo apt-get install --yes --quiet
|
||||
pandoc
|
||||
|
||||
- name: Set up Ruby 2.6
|
||||
uses: actions/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 2.6.x
|
||||
|
||||
- name: Setup gems
|
||||
run: |
|
||||
echo "source 'https://rubygems.org'" > Gemfile
|
||||
echo "group :test do" >> Gemfile
|
||||
echo " gem 'pandoc-ruby', require: false" >> Gemfile
|
||||
echo " gem 'rubocop', require: false" >> Gemfile
|
||||
echo " gem 'rubocop-performance', require: false" >> Gemfile
|
||||
echo " gem 'rubocop-rails', require: false" >> Gemfile
|
||||
echo " gem 'rubocop-rspec', require: false" >> Gemfile
|
||||
echo " gem 'slim_lint', require: false" >> Gemfile
|
||||
echo "end" >> Gemfile
|
||||
gem install bundler
|
||||
bundle install --jobs 4 --retry 3
|
||||
|
||||
- name: Run RuboCop
|
||||
run: |
|
||||
bundle exec rubocop -S
|
||||
|
||||
- name: Run Slim-Lint
|
||||
run: |
|
||||
bundle exec slim-lint app/views
|
||||
if: always()
|
Loading…
Add table
Add a link
Reference in a new issue