From cd0b96aa3d45ced000315cf50005d292639828de Mon Sep 17 00:00:00 2001 From: Neil Zhao Date: Wed, 5 Jun 2024 15:44:31 -0400 Subject: [PATCH] chore: fix ruby tests failed due to dependency issue Signed-off-by: Neil Zhao --- .github/workflows/ci.yaml | 6 ++- Gemfile.lock | 93 +++++++++++++++++++++++---------------- 2 files changed, 59 insertions(+), 40 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e69f11f..77a3865 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,7 +7,11 @@ jobs: fail-fast: false matrix: node-version: ['19', '18', '16', '14'] - os: ['windows-latest', 'ubuntu-latest', 'macos-latest'] + os: ['windows-latest', 'ubuntu-latest', 'macos-13', 'macos-latest'] + exclude: + # exclude node14 test on arm due to nodejs 14 release is not available for darwin-arm + - node-version: '14' + os: 'macos-latest' runs-on: ${{ matrix.os }} name: Node ${{ matrix.node-version }} sample (${{ matrix.os }}) steps: diff --git a/Gemfile.lock b/Gemfile.lock index edc6629..2f2e3fa 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,65 +1,75 @@ GEM remote: https://rubygems.org/ specs: - RedCloth (4.3.3) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) - asciidoctor (2.0.12) + RedCloth (4.3.4) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + asciidoctor (2.0.23) + base64 (0.2.0) builder (3.2.4) + cgi (0.4.1) charlock_holmes (0.7.7) commonmarker (0.23.10) creole (0.5.0) - dotenv (2.7.6) - escape_utils (1.2.1) + dotenv (3.1.2) expression_parser (0.9.0) - faraday (1.3.0) - faraday-net_http (~> 1.0) - multipart-post (>= 1.2, < 3) - ruby2_keywords - faraday-net_http (1.0.1) - github-linguist (7.13.0) + faraday (2.9.1) + faraday-net_http (>= 2.0, < 3.2) + faraday-net_http (3.1.0) + net-http + github-linguist (7.29.0) + cgi charlock_holmes (~> 0.7.7) - escape_utils (~> 1.2.0) mini_mime (~> 1.0) - rugged (>= 0.25.1) - github-markup (4.0.0) + rugged (~> 1.0) + github-markup (4.0.2) htmlentities (4.3.4) - idn-ruby (0.1.0) - licensee (9.15.1) - dotenv (~> 2.0) - octokit (~> 4.20) - reverse_markdown (~> 1.0) + idn-ruby (0.1.5) + licensee (9.17.0) + dotenv (>= 2, < 4) + octokit (>= 4.20, < 9.0) + reverse_markdown (>= 1, < 3) rugged (>= 0.24, < 2.0) thor (>= 0.19, < 2.0) - mini_mime (1.0.2) - mini_portile2 (2.8.1) - multipart-post (2.1.1) - nokogiri (1.14.3) - mini_portile2 (~> 2.8.0) + mini_mime (1.1.5) + net-http (0.4.1) + uri + nokogiri (1.16.5-aarch64-linux) racc (~> 1.4) - octokit (4.20.0) - faraday (>= 0.9) - sawyer (~> 0.8.0, >= 0.5.3) + nokogiri (1.16.5-arm-linux) + racc (~> 1.4) + nokogiri (1.16.5-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.5-x86-linux) + racc (~> 1.4) + nokogiri (1.16.5-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.16.5-x86_64-linux) + racc (~> 1.4) + octokit (8.1.0) + base64 + faraday (>= 1, < 3) + sawyer (~> 0.9) org-ruby (0.9.12) rubypants (~> 0.2) - public_suffix (4.0.6) - racc (1.6.2) + public_suffix (5.0.5) + racc (1.8.0) rdoc (6.3.4.1) - reverse_markdown (1.4.0) + reverse_markdown (2.1.1) nokogiri - ruby2_keywords (0.0.4) rubypants (0.7.1) - rugged (1.1.0) - sawyer (0.8.2) + rugged (1.7.2) + sawyer (0.9.2) addressable (>= 2.3.5) - faraday (> 0.8, < 2.0) - thor (1.1.0) + faraday (>= 0.17.3, < 3) + thor (1.3.1) twitter-text (3.1.0) idn-ruby unf (~> 0.1.0) unf (0.1.4) unf_ext - unf_ext (0.0.7.7) + unf_ext (0.0.9.1) + uri (0.13.0) wikicloth (0.8.3) builder expression_parser @@ -68,7 +78,12 @@ GEM twitter-text PLATFORMS - ruby + aarch64-linux + arm-linux + arm64-darwin + x86-linux + x86_64-darwin + x86_64-linux DEPENDENCIES RedCloth (~> 4.3) @@ -83,4 +98,4 @@ DEPENDENCIES wikicloth (~> 0.8.3) BUNDLED WITH - 2.1.4 + 2.5.11