Skip to content

Commit 374ee7f

Browse files
authored
Merge pull request #1 from Fatsoma/github-actions
ci: migrate to github actions
2 parents 8c13b91 + 56c016b commit 374ee7f

7 files changed

+44
-99
lines changed

.circleci/config.yml

-95
This file was deleted.
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Publish Gem
2+
on:
3+
push:
4+
branches: master
5+
6+
jobs:
7+
ruby-gem-publish:
8+
name: Publish Gem
9+
uses: Fatsoma/reusable-actions/.github/workflows/ruby-gem-publish.yml@v1
10+
with:
11+
gem-name: rollout

.github/workflows/ruby-lint.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Lint
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
lint:
7+
name: Lint
8+
uses: Fatsoma/reusable-actions/.github/workflows/ruby-lint.yml@v1

.github/workflows/ruby-test.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Test
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
test:
7+
name: Test
8+
uses: Fatsoma/reusable-actions/.github/workflows/ruby-test.yml@v1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Vulnerabilities
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
vulnerabilities:
7+
name: Vulnerabilities
8+
uses: Fatsoma/reusable-actions/.github/workflows/ruby-vulnerabilities.yml@v1

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.7.5

rollout.gemspec

+8-4
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,23 @@ require 'rollout/version'
66
Gem::Specification.new do |spec|
77
spec.name = 'rollout'
88
spec.version = Rollout::VERSION
9-
spec.authors = ['James Golick']
10-
spec.email = ['[email protected]']
9+
spec.authors = ['James Golick', 'Fatsoma']
10+
1111
spec.description = 'Feature flippers with redis.'
1212
spec.summary = 'Feature flippers with redis.'
13-
spec.homepage = 'https://github.com/FetLife/rollout'
13+
spec.homepage = 'https://github.com/Fatsoma/rollout'
1414
spec.license = 'MIT'
15+
spec.metadata = {
16+
'github_repo' => 'ssh://github.com/Fatsoma/rollout'
17+
18+
}
1519

1620
spec.files = `git ls-files`.split("\n")
1721
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
1822
spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
1923
spec.require_paths = ['lib']
2024

21-
spec.required_ruby_version = '>= 2.3'
25+
spec.required_ruby_version = '>= 2.7.5'
2226

2327
spec.add_dependency 'redis', '>= 4.0'
2428

0 commit comments

Comments
 (0)