From 50130ba0900ee998ce3eaf7035af6dc01d5a0f6e Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Mon, 24 Jun 2024 15:23:37 +0200 Subject: [PATCH] Use .ruby-version to set the ruby version in workflows No need to change the versions in multiple files... --- .github/workflows/next-rails.yml | 1 - .github/workflows/spec.yml | 2 -- 2 files changed, 3 deletions(-) diff --git a/.github/workflows/next-rails.yml b/.github/workflows/next-rails.yml index 76bbb97c..386abdc3 100644 --- a/.github/workflows/next-rails.yml +++ b/.github/workflows/next-rails.yml @@ -26,7 +26,6 @@ jobs: echo "BUNDLE_CACHE_PATH=vendor/cache.next" >> $GITHUB_ENV - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.3.2 bundler-cache: true - name: Prepare spec run: | diff --git a/.github/workflows/spec.yml b/.github/workflows/spec.yml index a7036ebd..c4ec147b 100644 --- a/.github/workflows/spec.yml +++ b/.github/workflows/spec.yml @@ -16,7 +16,6 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.3.2 bundler-cache: true - run: bundle exec rubocop - run: bundle exec haml-lint app/views @@ -34,7 +33,6 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.3.2 bundler-cache: true - name: Prepare spec run: |