.github/workflows/test.yml in metadata-json-lint-3.0.2 vs .github/workflows/test.yml in metadata-json-lint-3.0.3
- old
+ new
@@ -1,19 +1,20 @@
name: Test
on:
- - pull_request
- - push
+ pull_request: {}
+ push:
+ branches:
+ - master
env:
BUNDLE_WITHOUT: release
jobs:
rspec:
runs-on: ubuntu-latest
strategy:
- fail-fast: true
matrix:
include:
- ruby: "2.4"
- ruby: "2.5"
- ruby: "2.6"
@@ -22,10 +23,10 @@
coverage: "yes"
env:
COVERAGE: ${{ matrix.coverage }}
name: RSpec - Ruby ${{ matrix.ruby }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true