Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Commit c6321ab

Browse files
committed
Workflow for async stable-v1 and head.
1 parent 5a6b379 commit c6321ab

File tree

5 files changed

+73
-1
lines changed

5 files changed

+73
-1
lines changed

.github/workflows/async-head.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Async head
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ${{matrix.os}}-latest
8+
9+
strategy:
10+
matrix:
11+
os:
12+
- ubuntu
13+
14+
ruby:
15+
- head
16+
17+
env:
18+
BUNDLE_GEMFILE: gems/async-head.rb
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: ${{matrix.ruby}}
25+
bundler-cache: true
26+
27+
- name: Run tests
28+
timeout-minutes: 5
29+
run: bundle exec rspec

.github/workflows/async-v1.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Async v1
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ${{matrix.os}}-latest
8+
9+
strategy:
10+
matrix:
11+
os:
12+
- ubuntu
13+
14+
ruby:
15+
- 2.7
16+
17+
env:
18+
BUNDLE_GEMFILE: gems/async-v1.rb
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: ${{matrix.ruby}}
25+
bundler-cache: true
26+
27+
- name: Run tests
28+
timeout-minutes: 5
29+
run: bundle exec rspec

async-io.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
1515

1616
spec.required_ruby_version = ">= 2.5"
1717

18-
spec.add_dependency "async", "~> 1.14"
18+
spec.add_dependency "async"
1919

2020
spec.add_development_dependency "async-container", "~> 0.15"
2121
spec.add_development_dependency "async-rspec", "~> 1.10"

gems/async-head.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
gemspec path: "../"
6+
7+
gem 'async', git: "https://github.com/socketry/async"

gems/async-v1.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
gemspec path: "../"
6+
7+
gem 'async', '~> 1.0'

0 commit comments

Comments
 (0)