build(deps): bump rubygems/release-gem from 612653d273a73bdae1df8453e090060bb4db5f31 to 9e85cb11501bebc2ae661c1500176316d3987059 #1278
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: master | |
pull_request: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
platform: ["ubuntu-latest", "macos-latest"] | |
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
persist-credentials: false | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run tests | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
run: bundle exec rake | |
- name: Run RuboCop | |
run: bundle exec rubocop -D lib/ | |
- name: Upload coverage results | |
uses: codecov/codecov-action@985343d70564a82044c1b7fcb84c2fa05405c1a2 # v5.0.4 | |
with: | |
files: coverage/coverage.xml | |
disable_search: true | |
token: ${{ secrets.CODECOV_TOKEN }} |