diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef41bee5..33be390f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,19 +10,15 @@ jobs: build: runs-on: ubuntu-24.04 strategy: - matrix: - ruby-version: - - 3.2.6 fail-fast: false steps: - name: Checkout code uses: actions/checkout@v2 - - name: Set up Ruby ${{ matrix.ruby-version }} + - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - name: Install dependencies diff --git a/.gitignore b/.gitignore index 3f791f64..a40efc61 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,6 @@ /config/config.yml /public/assets -.ruby-version .rspec coverage diff --git a/.rubocop.yml b/.rubocop.yml index c0f62e3f..7b6d924b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,7 +6,6 @@ require: - rubocop-rspec AllCops: - TargetRubyVersion: 3.2 NewCops: enable Exclude: - 'db/schema.rb' diff --git a/config/deploy.rb b/config/deploy.rb index 8b639376..1331ce43 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -8,7 +8,7 @@ set :deploy_to, '/home/apps/t4c' set :rvm_type, :user -set :rvm_ruby_version, '3.2.6' +set :rvm_ruby_version, File.read("#{File.dirname(__FILE__)}/../.ruby-version").strip set :rvm_custom_path, '~/.rvm' set :format, :pretty