.github/workflows/lint.yml in statsd-instrument-3.1.2 vs .github/workflows/lint.yml in statsd-instrument-3.2.0
- old
+ new
@@ -3,20 +3,18 @@
on: push
jobs:
test:
name: Rubocop
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- - name: Setup Ruby
- uses: actions/setup-ruby@v1
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
with:
- ruby-version: 2.7
-
- - name: Install dependencies
- run: gem install bundler && bundle install --jobs 4 --retry 3
+ ruby-version: 2.6
+ bundler-cache: true
- name: Run Rubocop
run: bin/rubocop