summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-02-27 16:53:45 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-03-06 07:43:00 +0900
commit2baf5f3296cd56aa32551c465b5da957cceb7331 (patch)
tree61bdb62021b5df956255e610631da09688484334
parentc7035232c1927eaca6c680f5e6969f5616869480 (diff)
downloadbundler-2baf5f3296cd56aa32551c465b5da957cceb7331.tar.gz
Run lint on GitHub Actions
-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