mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 06:01:12 +00:00
Switch to github actions
👋 travis, it was nice while it lasted! ❤️
This commit is contained in:
parent
a3721cb298
commit
be6464ff83
7 changed files with 84 additions and 81 deletions
21
.github/workflows/linters.yml
vendored
Normal file
21
.github/workflows/linters.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: Linters
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
rubocop:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
OSEM_RUBY_VERSION: 2.5.8
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 2.5
|
||||
bundler-cache: true
|
||||
- run: bundle exec rubocop
|
||||
- run: bundle exec haml-lint app/views
|
||||
Loading…
Add table
Add a link
Reference in a new issue