From 2baf5f3296cd56aa32551c465b5da957cceb7331 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 27 Feb 2020 16:53:45 +0900 Subject: Run lint on GitHub Actions --- .github/workflows/ubuntu-lint.yml | 25 +++++++++++++++++++++++++ .travis.yml | 4 ---- 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/ubuntu-lint.yml 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 -- cgit v1.2.1