diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-01-23 12:17:23 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2021-01-23 12:17:23 +0300 |
commit | c4d872fa9bbf6ce45b193838e3874ce038552d2d (patch) | |
tree | 9162ec2ce1e75bc3262e7a9efa22b0707d8be345 | |
parent | caa2ebf4c277d8f2a61517de07382a202dd5da59 (diff) |
Add basic CI support
-rw-r--r-- | .github/workflows/ci.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3c195ce --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: [push, pull_request] + +env: + RUBY: 2.7 + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Clone repository + uses: actions/checkout@v2 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "${{ env.RUBY }}" + bundler-cache: true + + - name: Version info + run: | + ruby --version + gem --version + bundle --version + + - run: bundle exec jekyll build + - run: bundle exec jekyll doctor |