Skip to content

Commit 1a643b7

Browse files
committed
WIP
1 parent 437c514 commit 1a643b7

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,35 @@ jobs:
6060
ruby-version: '3.3.6'
6161
bundler-cache: true
6262

63+
- name: Configure Bundler
64+
run: |
65+
bundle config set --local frozen false
66+
bundle config set --local deployment false
67+
6368
- name: Install dependencies
6469
run: |
6570
gem install bundler
6671
bundle install
6772
68-
- name: Run RuboCop (if configured)
73+
- name: Run RuboCop
6974
run: |
7075
if [ -f ".rubocop.yml" ]; then
71-
bundle exec rubocop
76+
bundle exec rubocop --parallel
7277
else
7378
echo "No RuboCop configuration found, skipping linting"
7479
fi
7580
continue-on-error: true
7681

7782
- name: Check gem syntax
7883
run: |
84+
echo "Checking Ruby file syntax..."
7985
ruby -c lib/session_recorder/version.rb
8086
ruby -c lib/session_recorder/constants.rb
8187
ruby -c lib/session_recorder/exporters.rb
8288
echo "All Ruby files have valid syntax"
89+
90+
- name: Verify gemspec
91+
run: |
92+
echo "Verifying gemspec..."
93+
ruby -c multiplayer_otlp.gemspec
94+
echo "Gemspec syntax is valid"

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ jobs:
5858
git commit -m "chore: bump version to ${{ steps.version.outputs.version }}"
5959
git push origin main
6060
61+
- name: Configure Bundler
62+
run: |
63+
bundle config set --local frozen false
64+
bundle config set --local deployment false
65+
6166
- name: Install build dependencies
6267
run: |
6368
gem install bundler

0 commit comments

Comments
 (0)