From 586656638f97585019be923b17f59623d0a99cff Mon Sep 17 00:00:00 2001 From: Nic Boie Date: Mon, 4 Dec 2023 14:21:57 -0600 Subject: [PATCH] Changes action to use sys libs for nokogiri --- .github/workflows/codecheck.yml | 4 +++- .github/workflows/tests.yml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codecheck.yml b/.github/workflows/codecheck.yml index 74e9f03..2fb4e6c 100644 --- a/.github/workflows/codecheck.yml +++ b/.github/workflows/codecheck.yml @@ -12,7 +12,9 @@ jobs: steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 + env: + BUNDLE_NOKOGIRI___C: "--use-system-libraries" with: ruby-version: 2.7 bundler-cache: true - - run: bundle exec rubocop \ No newline at end of file + - run: bundle exec rubocop diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bb6a602..8857eef 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,6 +24,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 + env: + BUNDLE_NOKOGIRI___C: "--use-system-libraries" with: ruby-version: ${{ matrix.ruby }} bundler-cache: true