Skip to content

Commit c3146df

Browse files
committed
Modernize code.
1 parent 80f123e commit c3146df

File tree

13 files changed

+29
-19
lines changed

13 files changed

+29
-19
lines changed

.github/workflows/documentation-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
- uses: ruby/setup-ruby@v1
1818
with:
1919
ruby-version: ruby

.github/workflows/documentation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525

2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2828

2929
- uses: ruby/setup-ruby@v1
3030
with:
@@ -39,7 +39,7 @@ jobs:
3939
run: bundle exec bake utopia:project:static --force no
4040

4141
- name: Upload documentation artifact
42-
uses: actions/upload-pages-artifact@v3
42+
uses: actions/upload-pages-artifact@v4
4343
with:
4444
path: docs
4545

.github/workflows/rubocop.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414
- uses: ruby/setup-ruby@v1
1515
with:
1616
ruby-version: ruby

.github/workflows/test-coverage.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ jobs:
2626
ruby: "3.4"
2727
io_event_selector: EPoll
2828
- os: ubuntu
29-
ruby: "3.4"
29+
ruby: "4.0"
30+
io_event_selector: EPoll
31+
- os: ubuntu
32+
ruby: "4.0"
3033
io_event_selector: URing
3134
- os: ubuntu
32-
ruby: "3.4"
35+
ruby: "4.0"
3336
io_event_selector: URing
3437
fiber_profiler_capture: "true"
3538
- os: ubuntu
@@ -46,7 +49,7 @@ jobs:
4649
FIBER_PROFILER_CAPTURE: ${{matrix.fiber_profiler_capture}}
4750

4851
steps:
49-
- uses: actions/checkout@v4
52+
- uses: actions/checkout@v6
5053
- uses: ruby/setup-ruby-pkgs@v1
5154
with:
5255
ruby-version: ${{matrix.ruby}}
@@ -58,7 +61,7 @@ jobs:
5861
timeout-minutes: 5
5962
run: bundle exec bake test
6063

61-
- uses: actions/upload-artifact@v4
64+
- uses: actions/upload-artifact@v5
6265
with:
6366
include-hidden-files: true
6467
if-no-files-found: error
@@ -70,13 +73,13 @@ jobs:
7073
runs-on: ubuntu-latest
7174

7275
steps:
73-
- uses: actions/checkout@v4
76+
- uses: actions/checkout@v6
7477
- uses: ruby/setup-ruby@v1
7578
with:
7679
ruby-version: ruby
7780
bundler-cache: true
7881

79-
- uses: actions/download-artifact@v4
82+
- uses: actions/download-artifact@v6
8083

8184
- name: Validate coverage
8285
timeout-minutes: 5

.github/workflows/test-external.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
- "3.2"
2121
- "3.3"
2222
- "3.4"
23+
- "4.0"
2324

2425
steps:
25-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2627
- uses: ruby/setup-ruby@v1
2728
with:
2829
ruby-version: ${{matrix.ruby}}

.github/workflows/test-io_uring.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
ruby:
2323
- "3.3"
2424
- "3.4"
25-
- "head"
25+
- "4.0"
26+
- head
2627

2728
steps:
2829
- uses: actions/checkout@v3

.github/workflows/test-select.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
- "3.2"
2525
- "3.3"
2626
- "3.4"
27-
- "head"
27+
- "4.0"
28+
- head
2829

2930
steps:
3031
- uses: actions/checkout@v3

.github/workflows/test-worker-pool.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
- ubuntu
2121

2222
ruby:
23-
- "3.4"
24-
- "head"
23+
- "4.0"
24+
- head
2525

2626
steps:
2727
- uses: actions/checkout@v3

.github/workflows/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- "3.2"
2222
- "3.3"
2323
- "3.4"
24+
- "4.0"
2425

2526
experimental: [false]
2627

@@ -36,7 +37,7 @@ jobs:
3637
experimental: true
3738

3839
steps:
39-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v6
4041
- uses: ruby/setup-ruby@v1
4142
with:
4243
ruby-version: ${{matrix.ruby}}

lib/async/promise.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Released under the MIT License.
44
# Copyright, 2025, by Shopify Inc.
5-
# Copyright, 2025, by Samuel Williams.
5+
# Copyright, 2025-2026, by Samuel Williams.
66

77
module Async
88
# A promise represents a value that will be available in the future.

0 commit comments

Comments
 (0)