Skip to content

Commit

Permalink
Bump standardrb action version
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaunier committed Feb 16, 2023
1 parent 325e668 commit 60446b9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 31 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1.81.0
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7 # Not needed with a .ruby-version file
ruby-version: 3.2

- name: Cache Ruby Gems
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
Expand Down
24 changes: 17 additions & 7 deletions .github/workflows/standardrb-linter.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
name: StandardRB

on: [push]
on:
push:

permissions:
checks: write
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: StandardRB Linter
uses: andrewmcodes/standardrb-action@v0.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUBY_VERSION: 2.7
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Check out the repo
uses: actions/checkout@v3
- name: standardrb
env:
RUBY_VERSION: '3.2'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: amoeba/standardrb-action@v2
20 changes: 0 additions & 20 deletions .github/workflows/wait-for-check-without-token.yml

This file was deleted.

2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7 # Not needed with a .ruby-version file
ruby-version: 3.2 # Not needed with a .ruby-version file

- name: Cache Ruby Gems
uses: actions/cache@v3
Expand Down

0 comments on commit 60446b9

Please sign in to comment.