@@ -9,6 +9,20 @@ permissions: # added using https://github.com/step-security/secure-repo
99 contents : read
1010
1111jobs :
12+ steep :
13+ name : Type Check 🔍
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+ - name : Set up Ruby
19+ uses : ruby/setup-ruby@19a43a6a2428d455dbd1b85344698725179c9d8c # v1.289.0
20+ with :
21+ ruby-version : 4.0
22+ bundler-cache : true
23+ - run : |
24+ bundle exec steep check --format=github
25+
1226 rubocop :
1327 name : Standard 👮
1428 runs-on : ubuntu-latest
@@ -17,22 +31,24 @@ jobs:
1731 contents : read
1832 steps :
1933 - name : Harden the runner (Audit all outbound calls)
20- uses : step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
34+ uses : step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
2135 with :
2236 egress-policy : audit
2337
2438 - name : Checkout code
25- uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
39+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2640 - name : Standard Ruby
2741 uses : standardrb/standard-ruby-action@eecb3f730879f5b8830705348c2961e5aa26de78 # v1.5.0
2842 with :
43+ ruby-version : ' 4.0'
2944 autofix : false
3045
3146 features :
32- name : Features (${{ matrix.data-store }} Data Store and ${{ matrix.data-store-image }} Data Store image) 🥒
47+ name : Features (${{ matrix.data-store }} Data Store and ${{ matrix.data-store-image }} Data Store image using ${{matrix.light-creation}} ) 🥒
3348 runs-on : ubuntu-latest
3449 strategy :
3550 matrix :
51+ light-creation : [ 'Stoplight()', 'System#light' ]
3652 data-store : [ 'Redis' ]
3753 data-store-image :
3854 - ' redis:7.4'
4157 # Memory does not depend on the Data Store so we only want to run its suite once
4258 - data-store : ' Memory'
4359 data-store-image : ' redis:7.4'
60+ light-creation : ' Stoplight()'
61+ - data-store : ' Memory'
62+ data-store-image : ' redis:7.4'
63+ light-creation : ' System#light'
4464 services :
4565 data-store :
4666 image : ${{ matrix.data-store-image }}
@@ -53,24 +73,25 @@ jobs:
5373 - 6379:6379
5474 steps :
5575 - name : Harden the runner (Audit all outbound calls)
56- uses : step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
76+ uses : step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
5777 with :
5878 egress-policy : audit
5979
6080 - name : Checkout code
61- uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
81+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6282
6383 - name : Set up Ruby
64- uses : ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268 .0
84+ uses : ruby/setup-ruby@19a43a6a2428d455dbd1b85344698725179c9d8c # v1.289 .0
6585 with :
66- ruby-version : 3.3.4
86+ ruby-version : 4.0
6787 bundler-cache : true
6888
6989 - name : Run Features
7090 run : bundle exec cucumber features/stoplight
7191 env :
7292 STOPLIGHT_REDIS_URL : ' redis://127.0.0.1:6379/0'
7393 STOPLIGHT_DATA_STORE : ${{ matrix.data-store }}
94+ STOPLIGHT_LIGHT_CREATION : ${{ matrix.light-creation }}
7495 CUCUMBER_PUBLISH_ENABLED : true
7596
7697 spec :
88109 - ' redis:8.0'
89110 - ' valkey/valkey:7.2-alpine'
90111 - ' valkey/valkey:8.1-alpine'
91- ruby : [ '3.2', '3.3', '3.4' ]
112+ ruby : [ '3.2', '3.3', '3.4', '4.0' ]
92113 services :
93114 data-store :
94115 image : ${{ matrix.data-store-image }}
@@ -101,15 +122,15 @@ jobs:
101122 - 6379:6379
102123 steps :
103124 - name : Harden the runner (Audit all outbound calls)
104- uses : step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
125+ uses : step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
105126 with :
106127 egress-policy : audit
107128
108129 - name : Checkout code
109- uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
130+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
110131
111132 - name : Set up Ruby
112- uses : ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268 .0
133+ uses : ruby/setup-ruby@19a43a6a2428d455dbd1b85344698725179c9d8c # v1.289 .0
113134 with :
114135 ruby-version : ${{ matrix.ruby }}
115136 bundler-cache : true
@@ -131,7 +152,7 @@ jobs:
131152 runs-on : ubuntu-latest
132153 steps :
133154 - name : Harden the runner (Audit all outbound calls)
134- uses : step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
155+ uses : step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
135156 with :
136157 egress-policy : audit
137158
0 commit comments