Skip to content

Commit

Permalink
Fix syntax in workflow files (#2507)
Browse files Browse the repository at this point in the history
This fixes "unexpected end of the stream within a flow collection" error
that we started seeing. Not sure what changed on GH though.
  • Loading branch information
solnic authored Jan 9, 2025
1 parent 315310f commit a1d2941
Show file tree
Hide file tree
Showing 6 changed files with 115 additions and 104 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/sentry_delayed_job_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,12 @@ jobs:
matrix:
ruby_version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
include:
- {
ruby_version: "3.2",
options:
{
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal",
},
}
- { ruby_version: "3.2", options: { codecov: 1 } }
- ruby_version: "3.2"
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
- ruby_version: "3.2"
options:
codecov: 1
exclude:
# Because Rails 7.0 currently doesn't work with Ruby head
# LoadError:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/sentry_opentelemetry_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,9 @@ jobs:
ruby_version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
# opentelemetry_version: [1.2.0]
include:
- {
ruby_version: 3.2,
options:
{
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal",
},
}
- ruby_version: 3.2
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
exclude:
- { ruby_version: 'jruby-head' }
steps:
Expand Down
96 changes: 58 additions & 38 deletions .github/workflows/sentry_rails_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,44 +30,64 @@ jobs:
rails_version: [6.1.0, 7.0.0, 7.1.0]
ruby_version: [2.7, "3.0", "3.1", "3.2", "3.3"]
include:
- { ruby_version: "2.4", rails_version: 5.0.0 }
- { ruby_version: "2.4", rails_version: 5.1.0 }
- { ruby_version: "2.4", rails_version: 5.2.0 }
- { ruby_version: "2.5", rails_version: 5.0.0 }
- { ruby_version: "2.5", rails_version: 5.1.0 }
- { ruby_version: "2.5", rails_version: 5.2.0 }
- { ruby_version: "2.5", rails_version: 6.0.0 }
- { ruby_version: "2.5", rails_version: 6.1.0 }
- { ruby_version: "2.6", rails_version: 5.0.0 }
- { ruby_version: "2.6", rails_version: 5.1.0 }
- { ruby_version: "2.6", rails_version: 5.2.0 }
- { ruby_version: "2.6", rails_version: 6.0.0 }
- { ruby_version: "2.6", rails_version: 6.1.0 }
- { ruby_version: "2.7", rails_version: 5.0.0 }
- { ruby_version: "2.7", rails_version: 5.1.0 }
- { ruby_version: "2.7", rails_version: 5.2.0 }
- { ruby_version: "2.7", rails_version: 6.0.0 }
- { ruby_version: "2.7", rails_version: 6.1.0 }
- { ruby_version: "3.1", rails_version: 7.2.0 }
- { ruby_version: "3.2", rails_version: 7.2.0 }
- { ruby_version: "3.3", rails_version: 7.2.0 }
- { ruby_version: "3.4", rails_version: 7.2.0 }
- { ruby_version: "3.2", rails_version: "8.0.0" }
- { ruby_version: "3.3", rails_version: "8.0.0" }
- { ruby_version: "3.4", rails_version: "8.0.0" }
- { ruby_version: "jruby", rails_version: 6.1.0 }
- {
ruby_version: "3.2",
rails_version: 7.1.0,
options:
{
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal",
},
}
- {
ruby_version: "3.2",
rails_version: 7.1.0
}
- ruby_version: "2.4"
rails_version: 5.0.0
- ruby_version: "2.4"
rails_version: 5.1.0
- ruby_version: "2.4"
rails_version: 5.2.0
- ruby_version: "2.5"
rails_version: 5.0.0
- ruby_version: "2.5"
rails_version: 5.1.0
- ruby_version: "2.5"
rails_version: 5.2.0
- ruby_version: "2.5"
rails_version: 6.0.0
- ruby_version: "2.5"
rails_version: 6.1.0
- ruby_version: "2.6"
rails_version: 5.0.0
- ruby_version: "2.6"
rails_version: 5.1.0
- ruby_version: "2.6"
rails_version: 5.2.0
- ruby_version: "2.6"
rails_version: 6.0.0
- ruby_version: "2.6"
rails_version: 6.1.0
- ruby_version: "2.7"
rails_version: 5.0.0
- ruby_version: "2.7"
rails_version: 5.1.0
- ruby_version: "2.7"
rails_version: 5.2.0
- ruby_version: "2.7"
rails_version: 6.0.0
- ruby_version: "2.7"
rails_version: 6.1.0
- ruby_version: "3.1"
rails_version: 7.2.0
- ruby_version: "3.2"
rails_version: 7.2.0
- ruby_version: "3.3"
rails_version: 7.2.0
- ruby_version: "3.4"
rails_version: 7.2.0
- ruby_version: "3.2"
rails_version: "8.0.0"
- ruby_version: "3.3"
rails_version: "8.0.0"
- ruby_version: "3.4"
rails_version: "8.0.0"
- ruby_version: "jruby"
rails_version: 6.1.0
- ruby_version: "3.2"
rails_version: 7.1.0
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
- ruby_version: "3.2"
rails_version: 7.1.0
steps:
- uses: actions/checkout@v4
- name: Install sqlite and ImageMagick
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/sentry_resque_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,9 @@ jobs:
matrix:
ruby_version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
include:
- {
ruby_version: "3.2",
options:
{
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal",
},
}
- ruby_version: "3.2"
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
exclude:
- { ruby_version: 'jruby-head' }
steps:
Expand Down
44 changes: 19 additions & 25 deletions .github/workflows/sentry_ruby_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,25 @@ jobs:
rack_version: [2.0, 3.0, 3.1]
redis_rb_version: [4.0]
include:
- { ruby_version: 3.2, rack_version: 0, redis_rb_version: 5.0 }
- { ruby_version: 3.2, rack_version: 2.0, redis_rb_version: 5.0 }
- {
ruby_version: 3.2,
rack_version: 3.0,
redis_rb_version: 5.0,
options:
{
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal",
},
}
- {
ruby_version: 3.2,
rack_version: 3.0
}
- {
ruby_version: 3.3,
rack_version: 3.1,
redis_rb_version: 5.3
}
- {
ruby_version: 3.4,
rack_version: 3.1,
redis_rb_version: 5.3
}
- ruby_version: 3.2
rack_version: 0
redis_rb_version: 5.0
- ruby_version: 3.2
rack_version: 2.0
redis_rb_version: 5.0
- ruby_version: 3.2
rack_version: 3.0
redis_rb_version: 5.0
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
- ruby_version: 3.2
rack_version: 3.0
- ruby_version: 3.3
rack_version: 3.1
redis_rb_version: 5.3
- ruby_version: 3.4
rack_version: 3.1
redis_rb_version: 5.3
exclude:
- { ruby_version: 'jruby-head' }
steps:
Expand Down
45 changes: 26 additions & 19 deletions .github/workflows/sentry_sidekiq_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,32 @@ jobs:
sidekiq_version: ["5.0", "6.5", "7.0"]
ruby_version: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4", jruby]
include:
- { ruby_version: 2.4, sidekiq_version: 5.0 }
- { ruby_version: 2.5, sidekiq_version: 5.0 }
- { ruby_version: 2.5, sidekiq_version: 6.0 }
- { ruby_version: 2.6, sidekiq_version: 5.0 }
- { ruby_version: 2.6, sidekiq_version: 6.0 }
- { ruby_version: jruby, sidekiq_version: 5.0 }
- { ruby_version: jruby, sidekiq_version: 6.0 }
- { ruby_version: jruby, sidekiq_version: 7.0 }
- {
ruby_version: "3.2",
sidekiq_version: 7.0,
options:
{
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal",
},
}
- { ruby_version: "3.2", sidekiq_version: 7.0 }
- { ruby_version: "3.3", sidekiq_version: 7.0 }
- { ruby_version: "3.4", sidekiq_version: 7.0 }
- ruby_version: 2.4
sidekiq_version: 5.0
- ruby_version: 2.5
sidekiq_version: 5.0
- ruby_version: 2.5
sidekiq_version: 6.0
- ruby_version: 2.6
sidekiq_version: 5.0
- ruby_version: 2.6
sidekiq_version: 6.0
- ruby_version: jruby
sidekiq_version: 5.0
- ruby_version: jruby
sidekiq_version: 6.0
- ruby_version: jruby
sidekiq_version: 7.0
- ruby_version: "3.2"
sidekiq_version: 7.0
options:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal"
- ruby_version: "3.2"
sidekiq_version: 7.0
- ruby_version: "3.3"
sidekiq_version: 7.0
- ruby_version: "3.4"
sidekiq_version: 7.0
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit a1d2941

Please sign in to comment.