From cca1f4e82ca4070e02f0050d90deff58f96137b3 Mon Sep 17 00:00:00 2001 From: Andrzej Stencel Date: Fri, 9 Feb 2024 15:40:04 +0100 Subject: [PATCH 1/2] ci: add PR check --- .github/workflows/pull_request.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/pull_request.yaml diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml new file mode 100644 index 0000000..1504b99 --- /dev/null +++ b/.github/workflows/pull_request.yaml @@ -0,0 +1,15 @@ +name: PR check + +on: + pull_request: + +jobs: + test: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' + - run: bundle install + - run: bundle exec rake From d9379b30acc00fee6d1daa3714abbea44cf55e8e Mon Sep 17 00:00:00 2001 From: Andrzej Stencel Date: Fri, 9 Feb 2024 15:46:28 +0100 Subject: [PATCH 2/2] fix: use Ubuntu 20.04 --- .github/workflows/pull_request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 1504b99..1a94bed 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -5,7 +5,7 @@ on: jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1