fix some stuff
This commit is contained in:
parent 93f14deeb2
commit 18eeeff742
2 changed files with 11 additions and 11 deletions
| @ -10,13 +10,12 @@ jobs: | |||
steps: | ||||
- name: Checkout code | ||||
uses: actions/checkout@v4 | ||||
- name: Set up Ruby | ||||
uses: https://github.com/ruby/setup-ruby@v1 | ||||
- name: Set up JS | ||||
uses: https://github.com/actions/setup-node@v4 | ||||
with: | ||||
ruby-version: .ruby-version | ||||
bundler-cache: true | ||||
- name: Install Bundler | ||||
run: gem install bundler | ||||
node-version: latest | ||||
- name: Install dependencies | ||||
run: npm install | ||||
- name: Lint code for consistent style | ||||
run: npm run lint | ||||
- name: Build & check types | ||||
| |
| @ -13,13 +13,14 @@ jobs: | |||
- name: Checkout code | ||||
uses: actions/checkout@v4 | ||||
- name: Set up Ruby | ||||
uses: https://github.com/actions/setup-node@v4 | ||||
uses: https://github.com/ruby/setup-ruby@v1 | ||||
with: | ||||
node-version: latest | ||||
- name: Install dependencies | ||||
run: npm install | ||||
ruby-version: .ruby-version | ||||
bundler-cache: true | ||||
- name: Install Bundler | ||||
run: gem install bundler | ||||
- name: Lint code for consistent style | ||||
run: npx standard --fix --format github | ||||
run: bundle exec standardrb --fix --format github | ||||
- name: Install RBS collection | ||||
run: bundle exec rbs collection install | ||||
- name: Check types | ||||
| |
Loading…
Add table
Add a link
Reference in a new issue