Commit 3bf6633

mo khan <mo@mokhan.ca>
2025-11-26 22:11:47
chore: switch to github
1 parent 7fc5935
Changed files (3)
.github/workflow/ci.yml
@@ -0,0 +1,21 @@
+name: CI
+on:
+  push:
+    branches: [ "main" ]
+  pull_request:
+    branches: [ "main" ]
+permissions:
+  contents: read
+jobs:
+  test:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        ruby-version: ['3.4']
+    steps:
+    - uses: actions/checkout@v4
+    - uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
+      with:
+        ruby-version: ${{ matrix.ruby-version }}
+        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
+    - run: sh bin/test
.gitlab-ci.yml
@@ -1,12 +0,0 @@
-default:
-  image: ruby:3.4.4
-
-  before_script:
-    - apt-get update && apt-get install -y clang
-    - gem update --system '3.7.2'
-    - gem install bundler -v 2.7.2
-    - bundle install
-
-test:
-  script:
-    - ./bin/test
elelem.gemspec
@@ -10,14 +10,14 @@ Gem::Specification.new do |spec|
 
   spec.summary = "A REPL for Ollama."
   spec.description = "A REPL for Ollama."
-  spec.homepage = "https://gitlab.com/mokhax/elelem"
+  spec.homepage = "https://github.com/xlgmokha/elelem"
   spec.license = "MIT"
   spec.required_ruby_version = ">= 3.4.0"
   spec.required_rubygems_version = ">= 3.3.11"
   spec.metadata["allowed_push_host"] = "https://rubygems.org"
   spec.metadata["homepage_uri"] = spec.homepage
-  spec.metadata["source_code_uri"] = "https://gitlab.com/mokhax/elelem"
-  spec.metadata["changelog_uri"] = "https://gitlab.com/mokhax/elelem/-/blob/main/CHANGELOG.md"
+  spec.metadata["source_code_uri"] = "https://github.com/xlgmokha/elelem"
+  spec.metadata["changelog_uri"] = "https://github.com/xlgmokha/elelem/blob/main/CHANGELOG.md"
 
   # Specify which files should be added to the gem when it is released.
   # The `git ls-files -z` loads the files in the RubyGem that have been added into git.