diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3de819e..edde5ce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,13 +1,17 @@ +--- name: Ruby -on: +'on': push: - branches: [ main ] + branches: + - main pull_request: - branches: [ main ] + branches: + - main permissions: contents: read jobs: test: + name: Ruby ${{ matrix.ruby-version }} runs-on: ubuntu-latest env: BUNDLE_WITH: development @@ -20,11 +24,12 @@ jobs: - '3.3' - head steps: - - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: ${{ matrix.ruby-version }} + ruby-version: "${{ matrix.ruby-version }}" bundler-cache: true - name: Run tests run: bundle exec rake