Skip to content

Commit a0b5422

Browse files
committed
Fix CI
1 parent dda549d commit a0b5422

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
gemfile:
1313
- Gemfile
14-
- Gemfile-rails-main
14+
- gemfiles/Gemfile-rails-main
1515
ruby: ["3.0", "3.1", "3.2", "3.3", "head"]
1616
include:
1717
- ruby: "head"
1818
experimental: true
19-
- gemfile: "Gemfile-rails-main"
19+
- gemfile: "gemfiles/Gemfile-rails-main"
2020
experimental: true
2121
exclude:
2222
- os: "windows-latest"
@@ -28,15 +28,15 @@ jobs:
2828
- uses: actions/checkout@v3
2929

3030
- name: Remove Gemfile.lock
31-
if: (matrix.ruby == 'head' ) || (matrix.os == 'windows-latest' && matrix.ruby == '3.1')
31+
if: (matrix.gemfile == 'Gemfile') && ((matrix.ruby == 'head' ) || (matrix.os == 'windows-latest' && matrix.ruby == '3.1'))
3232
run: "rm ${{ matrix.gemfile }}.lock"
3333

3434
- name: Set up Ruby
3535
uses: ruby/setup-ruby@v1
3636
with:
3737
ruby-version: ${{ matrix.ruby }}
3838
bundler-cache: true
39-
cache-version: 6
39+
cache-version: 7
4040

4141
- name: Check if documentation is up to date
4242
run: bundle exec rake ruby_lsp:check_docs
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
55

66
# Specify your gem's dependencies in ruby_lsp_rails.gemspec.
7-
gemspec
7+
gemspec path: ".."
88

99
gem "puma"
1010
gem "sqlite3"

0 commit comments

Comments
 (0)