diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c0e71d8..6d6066a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -14,3 +14,4 @@ updates: interval: "weekly" pull-request-branch-name: separator: "-" + versioning-strategy: lockfile-only diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index b31c3f4..34e2967 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -1,10 +1,9 @@ -name: Ruby checks +name: Ruby on: push: - branches: [ "main" ] + branches: [ main ] pull_request: - types: [ opened, edited, synchronize ] jobs: test: @@ -13,13 +12,13 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: [ 3.1, 3.0, 2.7 ] + ruby-version: [ 3, 3.1, "3.0" ] name: Ruby ${{ matrix.ruby-version }} steps: - name: clone ${{ github.repository }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@v1 with: @@ -28,4 +27,6 @@ jobs: - name: run tests run: bundle exec rspec - name: upload code coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }}