diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index 6725cbf2..c0a3f005 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -2,12 +2,12 @@ name: Rubocop on: push: - branches: - - master +# branches: +# - master pull_request: - branches: - - master +# branches: +# - master jobs: rubocop: @@ -15,11 +15,11 @@ jobs: steps: - name: Cancel previous runs - uses: styfle/cancel-workflow-action@0.5.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ github.token }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b59639a..dc4822d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,12 +2,12 @@ name: Test on: push: - branches: - - master +# branches: +# - master pull_request: - branches: - - master +# branches: +# - master jobs: test: @@ -19,15 +19,15 @@ jobs: strategy: matrix: - ruby-version: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0] + ruby-version: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 3.3] steps: - name: Cancel previous runs - uses: styfle/cancel-workflow-action@0.5.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ github.token }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@v1 @@ -35,7 +35,7 @@ jobs: ruby-version: ${{ matrix.ruby-version }} bundler: 1 - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: vendor/bundle key: ${{ runner.os }}-bundle-${{ matrix.ruby-version }}-v2-${{ hashFiles('rails-data-migrations.gemspec', 'Appraisals') }}