.github/workflows/ruby-tests.yml in tracker_api-1.14.0 vs .github/workflows/ruby-tests.yml in tracker_api-1.15.0
- old
+ new
@@ -19,25 +19,28 @@
matrix:
gemfile:
- faraday-1
- faraday-2
ruby-version:
+ - "3.2"
- "3.1"
- "3.0"
- "2.7"
- - "2.6"
- jruby
- truffleruby
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
+ - name: Set environment
+ run: echo "COVERAGE=true" >> "$GITHUB_ENV"
+ if: matrix.ruby-version == '3.2' && matrix.gemfile == 'faraday-2'
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake test
- name: Upload Coverage
- uses: paambaati/codeclimate-action@v3.0.0
- if: matrix.ruby-version == '3.1' && matrix.gemfile == 'faraday-2'
+ uses: paambaati/codeclimate-action@v3.2.0
+ if: matrix.ruby-version == '3.2' && matrix.gemfile == 'faraday-2'