summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ubuntu-lint.yml25
-rw-r--r--.travis.yml4
2 files changed, 25 insertions, 4 deletions
diff --git a/.github/workflows/ubuntu-lint.yml b/.github/workflows/ubuntu-lint.yml
new file mode 100644
index 0000000000..360ef91e85
--- /dev/null
+++ b/.github/workflows/ubuntu-lint.yml
@@ -0,0 +1,25 @@
+name: ubuntu-lint
+
+on:
+ pull_request:
+
+ push:
+ branches:
+ - staging
+ - trying
+
+jobs:
+ ubuntu_lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - run: git submodule update -i
+ - name: Setup ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: 2.6.5
+ - name: Install Dependencies
+ run: bin/rake spec:deps
+ - name: Run Lint
+ run: bin/rake rubocop check_rvm_integration man:check
+ timeout-minutes: 15
diff --git a/.travis.yml b/.travis.yml
index 638d19b6e1..4bcbe51a4c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -38,7 +38,6 @@ rvm:
- 2.4.9
stages:
- - linting
- test
env:
@@ -51,9 +50,6 @@ env:
jobs:
include:
- - rvm: 2.6.5
- script: bin/rake rubocop check_rvm_integration man:check
- stage: linting
# Ruby 2.3 also tested in 2.x mode
- rvm: 2.3.8
env: RGV=master