Switch to github actions

👋 travis, it was nice while it lasted! ❤️
This commit is contained in:
Henne Vogelsang 2021-03-05 17:20:31 +01:00
parent a3721cb298
commit be6464ff83
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
7 changed files with 84 additions and 81 deletions

21
.github/workflows/linters.yml vendored Normal file
View 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