Skip to content

Commit 83d690d

Browse files
committed
Test unicorn on Rack 3.
1 parent 8b5625a commit 83d690d

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ jobs:
8989
gemfile: "gems/unicorn-v6-rack-v2.rb"
9090
server: "unicorn -E none"
9191
endpoint: "http://localhost:8080"
92-
92+
- ruby: "3.1"
93+
name: "Unicorn-v6-Rack-v3-http"
94+
gemfile: "gems/unicorn-v6-rack-v3.rb"
95+
server: "unicorn -E none"
96+
endpoint: "http://localhost:8080"
9397
steps:
9498
- uses: actions/checkout@v3
9599
- uses: ruby/setup-ruby@v1

gems/unicorn-v6-rack-v3.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2022, by Samuel Williams.
5+
6+
eval_gemfile '../gems.rb'
7+
8+
gem "unicorn", "~> 6.0"
9+
gem "rack", "~> 3.0"
10+
11+
# export RACK_CONFORM_SERVER="unicorn -E none"
12+
# export RACK_CONFORM_ENDPOINT="http://localhost:8080"

0 commit comments

Comments
 (0)