diff --git a/.github/workflows/test-compilation.yml b/.github/workflows/test-compilation.yml index 0c8adbd..505e9c9 100644 --- a/.github/workflows/test-compilation.yml +++ b/.github/workflows/test-compilation.yml @@ -12,6 +12,7 @@ jobs: fail-fast: false matrix: include: + - { ruby_version: '4.0', corruption: false, expected_exit_code: 0 } # Used by `dd-trace-rb` for compilation - { ruby_version: '3.4', corruption: false, expected_exit_code: 0 } # Used by `dd-trace-rb` for compilation - { ruby_version: '3.3', corruption: false, expected_exit_code: 0 } # Used by `dd-trace-rb` for compilation - { ruby_version: '3.2', corruption: false, expected_exit_code: 0 } @@ -21,7 +22,9 @@ jobs: - { ruby_version: '2.6', corruption: false, expected_exit_code: 0 } - { ruby_version: '2.5', corruption: false, expected_exit_code: 0 } # Used by `dd-trace-rb` for compilation - # Corruption tests + # "Corruption" tests: Validate that missing a file really breaks compilation (and thus our tests are working) + # On Rubies that don't use the source, this validates that indeed they aren't using any of these files. + - { ruby_version: '4.0', corruption: true, expected_exit_code: 1 } # Used by `dd-trace-rb` for compilation - { ruby_version: '3.4', corruption: true, expected_exit_code: 1 } # Used by `dd-trace-rb` for compilation - { ruby_version: '3.3', corruption: true, expected_exit_code: 1 } # Used by `dd-trace-rb` for compilation - { ruby_version: '3.2', corruption: true, expected_exit_code: 0 } diff --git a/lib/datadog/ruby_core_source/version.rb b/lib/datadog/ruby_core_source/version.rb index 05cceb7..1033497 100644 --- a/lib/datadog/ruby_core_source/version.rb +++ b/lib/datadog/ruby_core_source/version.rb @@ -1,5 +1,5 @@ module Datadog module RubyCoreSource - VERSION = '3.4.1' + VERSION = '3.4.2' end end