Skip to content

Update rubocop requirement from ~> 1.58.0 to ~> 1.60.0 #83

Update rubocop requirement from ~> 1.58.0 to ~> 1.60.0

Update rubocop requirement from ~> 1.58.0 to ~> 1.60.0 #83

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: '3.0'
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake test
- name: Publish code coverage
uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: ${{secrets.CLIMATE_REPORTER_ID}}
with:
coverageLocations: |
/home/runner/work/ruby-perlin-2D-map-generator/ruby-perlin-2D-map-generator/coverage/coverage.json:simplecov
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: '3.0'
- name: Install dependencies
run: bundle install
- name: Rubocop
run: rubocop