diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 496c266e..a06cc17d 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -11,13 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true + - name: Run linters run: | bundle exec rubocop --parallel diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45c84936..90b72d1d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: gemfile: [websocket-driver-0.6.x, websocket-driver-0.7.x] - ruby: [2.6, 2.7, "3.0", 3.1, 3.2] + ruby: [2.7, "3.0", 3.1, 3.2, 3.3] runs-on: ubuntu-latest env: FERRUM_PROCESS_TIMEOUT: 25 @@ -20,7 +20,7 @@ jobs: BUNDLE_GEMFILE: .github/gemfiles/${{ matrix.gemfile }}.gemfile steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Ruby uses: ruby/setup-ruby@v1 @@ -33,13 +33,13 @@ jobs: with: chrome-version: stable - - run: mkdir -p /tmp/ferrum - - name: Run tests - run: bundle exec rake + run: | + mkdir -p /tmp/ferrum + bundle exec rake - name: Archive artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: footprints