From e1438bc261c43110588b55fc18d644525f55395a Mon Sep 17 00:00:00 2001 From: Kim Burgestrand Date: Tue, 15 Oct 2024 10:55:31 +0200 Subject: [PATCH] Add workflow to run CI --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f50a580 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: Main + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + test: + runs-on: ubuntu-latest + env: + RACK_ENV: "test" + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + - run: bundle exec rake spec