Skip to content

Commit 5c93018

Browse files
author
Alex Evanczuk
committed
Debug inability to publish gem
1 parent e4b7176 commit 5c93018

5 files changed

Lines changed: 79 additions & 66 deletions

File tree

.github/workflows/cd.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,34 @@ jobs:
1313
- uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
1414
- name: Tag and Push Gem
1515
id: tag-and-push-gem
16-
uses: discourse/publish-rubygems-action@a3753e0ecc0c9f53b87c993ac854de93b39c4b53
16+
uses: discourse/publish-rubygems-action@04549cca4eecd343acd215114ebbbdb99630af90
1717
env:
1818
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
1919
GIT_EMAIL: ${{secrets.ALEX_GIT_EMAIL}}
2020
GIT_NAME: ${{secrets.ALEX_GIT_NAME}}
2121
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
22+
- name: Debug "There are files that need to be committed first."
23+
if: always()
24+
run: |
25+
echo "test"
26+
echo "test 2"
27+
git diff
28+
echo "test 3"
29+
git diff-index --quiet --cached HEAD
30+
echo "test 4"
31+
git diff --exit-code
32+
echo "test 5"
33+
echo "$(git diff)"
34+
echo "test 6"
35+
echo "$(git diff-index --quiet --cached HEAD)"
36+
echo "test 7"
37+
echo "$(git diff --exit-code)"
38+
echo "test 8"
39+
git status
40+
echo "test 9"
41+
echo "$(git status)"
42+
echo "test 10"
43+
shell: bash {0}
2244
- name: Create GitHub Release
2345
run: gh release create v${{steps.tag-and-push-gem.outputs.gem_version}} --generate-notes
2446
if: ${{ steps.tag-and-push-gem.outputs.new_version == 'true' }}

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
1414
- '3.0'
1515
- 3.1
16-
- head
1716
env:
1817
BUNDLE_GEMFILE: Gemfile
1918
name: "Minitest tests: Ruby ${{ matrix.ruby }}"
@@ -35,7 +34,7 @@ jobs:
3534
uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7
3635
with:
3736
bundler-cache: true
38-
ruby-version: head
37+
ruby-version: 3.1
3938
- name: Run static type checks
4039
run: bundle exec srb tc
4140
rubocop:
@@ -47,6 +46,6 @@ jobs:
4746
uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7
4847
with:
4948
bundler-cache: true
50-
ruby-version: head
49+
ruby-version: 3.1
5150
- name: Run style checks
5251
run: bundle exec rubocop

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,6 @@ Lint/EmptyClass:
133133
Lint/EmptyFile:
134134
Exclude:
135135
- test/fixtures/minimal/config/environment.rb
136+
137+
Gemspec/DevelopmentDependencies:
138+
Enabled: false

Gemfile.lock

Lines changed: 50 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GIT
22
remote: https://github.com/Shopify/packwerk
3-
revision: 8476bb3cd5452765ad452d36aa45ae724f1d44f5
3+
revision: 6e57928e1508afd0f651ab68682c06b3a361d399
44
branch: main
55
specs:
66
packwerk (2.2.1)
@@ -17,7 +17,7 @@ GIT
1717
PATH
1818
remote: .
1919
specs:
20-
packwerk-extensions (0.1.0)
20+
packwerk-extensions (0.1.1)
2121
packwerk (>= 2.2.1)
2222
railties (>= 6.0.0)
2323
sorbet-runtime
@@ -26,20 +26,20 @@ PATH
2626
GEM
2727
remote: https://rubygems.org/
2828
specs:
29-
actionpack (7.0.4)
30-
actionview (= 7.0.4)
31-
activesupport (= 7.0.4)
29+
actionpack (7.0.4.2)
30+
actionview (= 7.0.4.2)
31+
activesupport (= 7.0.4.2)
3232
rack (~> 2.0, >= 2.2.0)
3333
rack-test (>= 0.6.3)
3434
rails-dom-testing (~> 2.0)
3535
rails-html-sanitizer (~> 1.0, >= 1.2.0)
36-
actionview (7.0.4)
37-
activesupport (= 7.0.4)
36+
actionview (7.0.4.2)
37+
activesupport (= 7.0.4.2)
3838
builder (~> 3.1)
3939
erubi (~> 1.4)
4040
rails-dom-testing (~> 2.0)
4141
rails-html-sanitizer (~> 1.1, >= 1.2.0)
42-
activesupport (7.0.4)
42+
activesupport (7.0.4.2)
4343
concurrent-ruby (~> 1.0, >= 1.0.2)
4444
i18n (>= 1.6, < 2)
4545
minitest (>= 5.1)
@@ -54,44 +54,44 @@ GEM
5454
smart_properties
5555
builder (3.2.4)
5656
coderay (1.1.3)
57-
concurrent-ruby (1.1.10)
57+
concurrent-ruby (1.2.0)
5858
constant_resolver (0.2.0)
5959
crass (1.0.6)
6060
diff-lcs (1.5.0)
61-
erubi (1.11.0)
61+
erubi (1.12.0)
6262
i18n (1.12.0)
6363
concurrent-ruby (~> 1.0)
64-
json (2.6.2)
65-
loofah (2.19.0)
64+
json (2.6.3)
65+
loofah (2.19.1)
6666
crass (~> 1.0.2)
6767
nokogiri (>= 1.5.9)
6868
method_source (1.0.0)
69-
mini_portile2 (2.8.0)
70-
minitest (5.16.3)
69+
minitest (5.17.0)
7170
mocha (2.0.2)
7271
ruby2_keywords (>= 0.0.5)
7372
netrc (0.11.0)
74-
nokogiri (1.13.9)
75-
mini_portile2 (~> 2.8.0)
73+
nokogiri (1.14.2-arm64-darwin)
74+
racc (~> 1.4)
75+
nokogiri (1.14.2-x86_64-linux)
7676
racc (~> 1.4)
7777
parallel (1.22.1)
78-
parser (3.1.2.1)
78+
parser (3.2.1.0)
7979
ast (~> 2.4.1)
80-
pry (0.14.1)
80+
pry (0.14.2)
8181
coderay (~> 1.1)
8282
method_source (~> 1.0)
83-
racc (1.6.0)
83+
racc (1.6.2)
8484
rack (2.2.6.2)
8585
rack-test (2.0.2)
8686
rack (>= 1.3)
8787
rails-dom-testing (2.0.3)
8888
activesupport (>= 4.2.0)
8989
nokogiri (>= 1.6)
90-
rails-html-sanitizer (1.4.3)
91-
loofah (~> 2.3)
92-
railties (7.0.4)
93-
actionpack (= 7.0.4)
94-
activesupport (= 7.0.4)
90+
rails-html-sanitizer (1.5.0)
91+
loofah (~> 2.19, >= 2.19.1)
92+
railties (7.0.4.2)
93+
actionpack (= 7.0.4.2)
94+
activesupport (= 7.0.4.2)
9595
method_source
9696
rake (>= 12.2)
9797
thor (~> 1.0)
@@ -103,72 +103,61 @@ GEM
103103
parser (>= 2.6.4.0)
104104
sorbet-runtime (>= 0.5.9204)
105105
unparser
106-
regexp_parser (2.6.0)
106+
regexp_parser (2.7.0)
107107
rexml (3.2.5)
108-
rubocop (1.39.0)
108+
rubocop (1.45.1)
109109
json (~> 2.3)
110110
parallel (~> 1.10)
111-
parser (>= 3.1.2.1)
111+
parser (>= 3.2.0.0)
112112
rainbow (>= 2.2.2, < 4.0)
113113
regexp_parser (>= 1.8, < 3.0)
114114
rexml (>= 3.2.5, < 4.0)
115-
rubocop-ast (>= 1.23.0, < 2.0)
115+
rubocop-ast (>= 1.24.1, < 2.0)
116116
ruby-progressbar (~> 1.7)
117-
unicode-display_width (>= 1.4.0, < 3.0)
118-
rubocop-ast (1.23.0)
119-
parser (>= 3.1.1.0)
117+
unicode-display_width (>= 2.4.0, < 3.0)
118+
rubocop-ast (1.26.0)
119+
parser (>= 3.2.1.0)
120120
ruby-progressbar (1.11.0)
121121
ruby2_keywords (0.0.5)
122122
smart_properties (1.17.0)
123-
sorbet (0.5.10520)
124-
sorbet-static (= 0.5.10520)
125-
sorbet-runtime (0.5.10520)
126-
sorbet-static (0.5.10520-universal-darwin-14)
127-
sorbet-static (0.5.10520-universal-darwin-15)
128-
sorbet-static (0.5.10520-universal-darwin-16)
129-
sorbet-static (0.5.10520-universal-darwin-17)
130-
sorbet-static (0.5.10520-universal-darwin-18)
131-
sorbet-static (0.5.10520-universal-darwin-19)
132-
sorbet-static (0.5.10520-universal-darwin-20)
133-
sorbet-static (0.5.10520-universal-darwin-21)
134-
sorbet-static (0.5.10520-universal-darwin-22)
135-
sorbet-static (0.5.10520-x86_64-linux)
136-
sorbet-static-and-runtime (0.5.10520)
137-
sorbet (= 0.5.10520)
138-
sorbet-runtime (= 0.5.10520)
139-
spoom (1.1.12)
140-
sorbet (>= 0.5.9204)
123+
sorbet (0.5.10672)
124+
sorbet-static (= 0.5.10672)
125+
sorbet-runtime (0.5.10672)
126+
sorbet-static (0.5.10672-universal-darwin-20)
127+
sorbet-static (0.5.10672-x86_64-linux)
128+
sorbet-static-and-runtime (0.5.10672)
129+
sorbet (= 0.5.10672)
130+
sorbet-runtime (= 0.5.10672)
131+
spoom (1.1.15)
132+
sorbet (>= 0.5.10187)
141133
sorbet-runtime (>= 0.5.9204)
142134
thor (>= 0.19.2)
143-
tapioca (0.10.3)
135+
tapioca (0.10.5)
144136
bundler (>= 1.17.3)
145137
netrc (>= 0.11.0)
146138
parallel (>= 1.21.0)
147139
rbi (~> 0.0.0, >= 0.0.16)
148-
sorbet-static-and-runtime (>= 0.5.9892)
140+
sorbet-static-and-runtime (>= 0.5.10187)
149141
spoom (~> 1.1.0, >= 1.1.11)
150142
thor (>= 1.2.0)
151143
yard-sorbet
152144
thor (1.2.1)
153-
tzinfo (2.0.5)
145+
tzinfo (2.0.6)
154146
concurrent-ruby (~> 1.0)
155-
unicode-display_width (2.3.0)
156-
unparser (0.6.5)
147+
unicode-display_width (2.4.2)
148+
unparser (0.6.7)
157149
diff-lcs (~> 1.3)
158-
parser (>= 3.1.0)
150+
parser (>= 3.2.0)
159151
webrick (1.7.0)
160152
yard (0.9.28)
161153
webrick (~> 1.7.0)
162-
yard-sorbet (0.7.0)
154+
yard-sorbet (0.8.0)
163155
sorbet-runtime (>= 0.5)
164156
yard (>= 0.9)
165-
zeitwerk (2.6.6)
157+
zeitwerk (2.6.7)
166158

167159
PLATFORMS
168160
arm64-darwin-20
169-
ruby
170-
x86_64-darwin
171-
x86_64-darwin-20
172161
x86_64-linux
173162

174163
DEPENDENCIES
@@ -184,4 +173,4 @@ DEPENDENCIES
184173
tapioca
185174

186175
BUNDLED WITH
187-
2.3.8
176+
2.4.7

packwerk-extensions.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |spec|
22
spec.name = 'packwerk-extensions'
3-
spec.version = '0.1.0'
3+
spec.version = '0.1.1'
44
spec.authors = ['Gusto Engineers']
55
spec.email = ['dev@gusto.com']
66

0 commit comments

Comments
 (0)