build(deps): bump actions/checkout from 3 to 4 #720
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
--- | |
jobs: | |
tests: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- uses: "ruby/setup-ruby@v1" | |
with: | |
bundler-cache: "true" | |
ruby-version: "${{ matrix.ruby }}" | |
- name: "Run Tests" | |
run: "bundle exec rake spec" | |
- name: "Check Ruby Style" | |
run: "bundle exec rubocop -c ./.rubocop.yml -fq" | |
- name: "Check Licenses" | |
run: | | |
# Forcibly set Bundler platform to patch for https://github.com/pivotal/LicenseFinder/issues/828 | |
bundle config --local deployment false | |
bundle lock --add-platform x86_64-linux | |
bundle config --local deployment true | |
bundle exec license_finder --quiet | |
strategy: | |
matrix: | |
gemfile: | |
- "gemfiles/faraday_latest.gemfile" | |
- "gemfiles/faraday_0.16.x.gemfile" | |
- "gemfiles/faraday_0.x.gemfile" | |
- "gemfiles/faraday_1.x.gemfile" | |
- "gemfiles/faraday_2.x.gemfile" | |
ruby: | |
- "2.7" | |
- "3.2" | |
name: "Tests" | |
"on": | |
- "push" |