Skip to content

Commit

Permalink
Setup github actions CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltelford committed Mar 27, 2024
1 parent 0ffd366 commit 857ad32
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/wgit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: wgit
on: [push]
jobs:
wgit-ci:
runs-on: ubuntu-22.04
services:
mongodb:
image: michaeltelford/mongo-wgit
ports:
- 27017:27017
env:
WGIT_CONNECTION_STRING: "mongodb://rubyapp:abcdef@localhost/crawler"
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
# ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: ci
run: bundle exec toys ci
- name: docs
run: bundle exec toys generate_rubydocs

0 comments on commit 857ad32

Please sign in to comment.