diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd0938f..4a9d7ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,8 +25,7 @@ jobs: bundler-cache: true - name: Standard - run: | - gem install standardrb + run: bundle exec standardrb build: needs: [linting] diff --git a/.standard.yml b/.standard.yml new file mode 100644 index 0000000..3af9da5 --- /dev/null +++ b/.standard.yml @@ -0,0 +1 @@ +ruby_version: 2.6 diff --git a/Gemfile b/Gemfile index 874f86f..f12209f 100644 --- a/Gemfile +++ b/Gemfile @@ -10,5 +10,5 @@ gem "multipart-parser", "~> 0.1.1" gem "rake", "~> 13.0" gem "rspec", "~> 3.0" gem "simplecov", "~> 0.19.0" -gem "standardrb", "~> 1.0" +gem "standard", "~> 1.30.0" if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.7") gem "webmock", "~> 3.4"