diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..785c76c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: Test +on: + push: +jobs: + rspec: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + ruby: ['2.7', '3.0', '3.1', '3.2', '3.3'] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - name: Set up Ruby ${{ matrix.ruby }} + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - name: Run Test + run: bundle exec rake diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e469180..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -sudo: false -language: ruby -cache: bundler -rvm: - - 2.6.3 -before_install: gem install bundler -v 2.0.1 diff --git a/Gemfile b/Gemfile index 7cd6e45..182cb7c 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,6 @@ source "https://rubygems.org" # Specify your gem's dependencies in serverkit-vscode.gemspec gemspec + +gem "rake" +gem "minitest" diff --git a/LICENSE.txt b/LICENSE.txt index b3a4f37..9b158a2 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 toshimaru +Copyright (c) 2019-2024 toshimaru Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 3889f8d..f94c6b4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -[![Build Status](https://travis-ci.org/toshimaru/serverkit-vscode.svg?branch=master)](https://travis-ci.org/toshimaru/serverkit-vscode) +[![Test](https://github.com/toshimaru/serverkit-vscode/actions/workflows/test.yml/badge.svg)](https://github.com/toshimaru/serverkit-vscode/actions/workflows/test.yml) +[![Gem Version](https://badge.fury.io/rb/serverkit-vscode.svg)](https://badge.fury.io/rb/serverkit-vscode) # serverkit-vscode @@ -28,8 +29,8 @@ resources: - type: vscode_package name: GitHub.vscode-pull-request-github - type: vscode_package - name: ms-vscode.Go - version: 0.11.0 + name: github.copilot + version: 1.156.0 ``` ## License diff --git a/serverkit-vscode.gemspec b/serverkit-vscode.gemspec index e0e2806..39f8702 100644 --- a/serverkit-vscode.gemspec +++ b/serverkit-vscode.gemspec @@ -25,7 +25,4 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_runtime_dependency "serverkit" - spec.add_development_dependency "bundler", "~> 2.0" - spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "minitest", "~> 5.0" end