Skip to content

Commit

Permalink
Merge pull request cedarcode#380 from petergoldstein/feature/add_ruby…
Browse files Browse the repository at this point in the history
…_3_2_to_ci

Adds Ruby 3.2 to the CI matrix
  • Loading branch information
bdewater committed Dec 26, 2022
2 parents b90c6fd + 1442b45 commit c203b20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ jobs:
fail-fast: false
matrix:
ruby:
- '3.2'
- '3.1'
- '3.0'
- '2.7'
- '2.6'
- '2.5'
- truffleruby
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.0.0
- uses: actions/checkout@v3
- name: Block autosquash commits
uses: xt0rted/block-autosquash-commits-action@v2
with:
Expand Down
5 changes: 3 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@ def issue_certificate(
end

def fake_certificate_chain_validation_time(attestation_statement, time)
allow(attestation_statement).to receive(:attestation_root_certificates_store).and_wrap_original do |m, *args|
store = m.call(*args)
allow(attestation_statement).to receive(:attestation_root_certificates_store)
.and_wrap_original do |m, *_args, **kwargs|
store = m.call(**kwargs)
store.time = time
store
end
Expand Down

0 comments on commit c203b20

Please sign in to comment.