Skip to content

Commit

Permalink
Modernize gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Aug 4, 2024
1 parent b7ce9de commit a9c89b9
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 22 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/rubocop.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test External
name: RuboCop

on: [push, pull_request]

Expand All @@ -9,26 +9,14 @@ env:
CONSOLE_OUTPUT: XTerm

jobs:
test:
name: ${{matrix.ruby}} on ${{matrix.os}}
runs-on: ${{matrix.os}}-latest

strategy:
matrix:
os:
- ubuntu
- macos

ruby:
- "3.1"
- "3.2"
- "3.3"
check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
ruby-version: ruby
bundler-cache: true

- name: Run RuboCop
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
env:
IO_EVENT_SELECTOR: ${{matrix.selector}}
run: bundle exec bake test

- uses: actions/upload-artifact@v3
with:
name: coverage-${{matrix.os}}-${{matrix.ruby}}-${{matrix.selector}}
Expand Down
2 changes: 1 addition & 1 deletion benchmark/rubies/benchmark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2019-2022, by Samuel Williams.
# Copyright, 2019-2024, by Samuel Williams.

require 'socket'
require 'fiber'
Expand Down
2 changes: 1 addition & 1 deletion examples/debug/sample.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2023, by Samuel Williams.
# Copyright, 2023-2024, by Samuel Williams.

require 'async'

Expand Down
2 changes: 1 addition & 1 deletion test/async/waiter.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2022-2023, by Samuel Williams.
# Copyright, 2022-2024, by Samuel Williams.
# Copyright, 2024, by Patrik Wenger.

require 'async/waiter'
Expand Down
2 changes: 1 addition & 1 deletion test/async/wrapper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2017-2022, by Samuel Williams.
# Copyright, 2017-2024, by Samuel Williams.

require 'sus/fixtures/async'
require "async/wrapper"
Expand Down
2 changes: 1 addition & 1 deletion test/enumerator.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2018-2022, by Samuel Williams.
# Copyright, 2018-2024, by Samuel Williams.

require 'async'

Expand Down

0 comments on commit a9c89b9

Please sign in to comment.