Skip to content

Commit 92acef9

Browse files
committed
Test unicorn on Rack 3.
1 parent e2382a1 commit 92acef9

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
@@ -94,7 +94,11 @@ jobs:
9494
gemfile: "gems/unicorn-v6-rack-v2.rb"
9595
server: "unicorn -E none"
9696
endpoint: "http://localhost:8080"
97-
97+
- ruby: "3.1"
98+
name: "Unicorn-v6-Rack-v3-http"
99+
gemfile: "gems/unicorn-v6-rack-v3.rb"
100+
server: "unicorn -E none"
101+
endpoint: "http://localhost:8080"
98102
steps:
99103
- uses: actions/checkout@v3
100104
- 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)