Skip to content

chore: Update ruby 3.0.3 to 3.3.0 #171

chore: Update ruby 3.0.3 to 3.3.0

chore: Update ruby 3.0.3 to 3.3.0 #171

Triggered via push April 17, 2024 19:27
Status Failure
Total duration 1m 6s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
rspec: spec/models/jwk_url_loader_spec.rb#L49
JwkUrlLoader methods #call returns the jwks provided by the endpoint Failure/Error: faraday_client.get(@url).body ArgumentError: wrong number of arguments (given 2, expected 1)
rspec: spec/models/jwk_url_loader_spec.rb#L62
JwkUrlLoader methods #call with invalid response raises error Failure/Error: expect { url_loader.call({}) }.to raise_error Faraday::ServerError expected Faraday::ServerError, got #<ArgumentError: wrong number of arguments (given 2, expected 1)> with backtrace: # ./app/models/jwk_url_loader.rb:21:in `call' # ./spec/models/jwk_url_loader_spec.rb:63:in `block (6 levels) in <top (required)>' # ./spec/models/jwk_url_loader_spec.rb:63:in `block (5 levels) in <top (required)>' # ./spec/support/database_cleaner.rb:13:in `block (3 levels) in <top (required)>' # ./spec/support/database_cleaner.rb:12:in `block (2 levels) in <top (required)>'
rspec: spec/models/jwk_url_loader_spec.rb#L94
JwkUrlLoader methods #call caching without Cache-Control header present makes the external call twice Failure/Error: faraday_client.get(@url).body ArgumentError: wrong number of arguments (given 2, expected 1)
rspec: spec/models/jwk_url_loader_spec.rb#L71
JwkUrlLoader methods #call caching with Cache-Control header present only makes the external call once Failure/Error: faraday_client.get(@url).body ArgumentError: wrong number of arguments (given 2, expected 1)
rspec: spec/models/jwk_url_loader_spec.rb#L83
JwkUrlLoader methods #call caching with Cache-Control header present `invalidate` == false option will not invalidate the cache Failure/Error: faraday_client.get(@url).body ArgumentError: wrong number of arguments (given 2, expected 1)
rspec: spec/models/jwk_url_loader_spec.rb#L77
JwkUrlLoader methods #call caching with Cache-Control header present `invalidate` == true option will force the external call Failure/Error: faraday_client.get(@url).body ArgumentError: wrong number of arguments (given 2, expected 1)
rspec: spec/models/jwk_url_loader_spec.rb#L32
JwkUrlLoader when used as a jwk loader with valid key will decode token Failure/Error: faraday_client.get(@url).body ArgumentError: wrong number of arguments (given 2, expected 1)
rspec: spec/models/jwk_url_loader_spec.rb#L39
JwkUrlLoader when used as a jwk loader with invalid key will raise error Failure/Error: expect do JWT.decode(token, nil, true, algorithm: 'RS256', jwks: url_loader) end.to raise_error JWT::VerificationError expected JWT::VerificationError, got #<ArgumentError: wrong number of arguments (given 2, expected 1)> with backtrace: # ./app/models/jwk_url_loader.rb:21:in `call' # ./spec/models/jwk_url_loader_spec.rb:41:in `block (5 levels) in <top (required)>' # ./spec/models/jwk_url_loader_spec.rb:40:in `block (4 levels) in <top (required)>' # ./spec/support/database_cleaner.rb:13:in `block (3 levels) in <top (required)>' # ./spec/support/database_cleaner.rb:12:in `block (2 levels) in <top (required)>'
rspec: spec/models/launch_spec.rb#L141
Launch methods #id_token returns a signed JWT version of the payload Failure/Error: JWT.decode(id_token, nil, true, algorithm: ALGORITHM, jwks: jwks).first OpenSSL::PKey::PKeyError: rsa#set_key= is incompatible with OpenSSL 3.0
rspec: spec/models/auth_server_spec.rb#L343
AuthServer methods #jwt_decode with invalid signature raises an error Failure/Error: expect { subject }.to raise_error JWT::DecodeError expected JWT::DecodeError, got #<ArgumentError: wrong number of arguments (given 2, expected 1)> with backtrace: # ./app/models/jwk_url_loader.rb:21:in `call' # ./app/models/auth_server.rb:69:in `jwt_decode' # ./spec/models/auth_server_spec.rb:309:in `block (4 levels) in <top (required)>' # ./spec/models/auth_server_spec.rb:344:in `block (6 levels) in <top (required)>' # ./spec/models/auth_server_spec.rb:344:in `block (5 levels) in <top (required)>' # ./spec/support/database_cleaner.rb:13:in `block (3 levels) in <top (required)>' # ./spec/support/database_cleaner.rb:12:in `block (2 levels) in <top (required)>'
brakeman
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
brakeman
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rubocop
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
rubocop
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rspec
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
rspec
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/