diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2ce19a6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: Continuous Integration + +on: [push, pull_request] + +jobs: + build: + name: Build + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Ruby Setup + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + + - name: Environment + run: printenv | sort + + - name: Git Setup + run: | + git config --global init.defaultBranch main + git fetch --depth=1 origin main + git log --pretty=format:"%h %s" main..ci + + - name: Build + run: bundle exec rake