From 4ff249ce3fd0d4037e296605de794aab530834a1 Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Fri, 17 Jan 2025 20:00:45 +0000 Subject: [PATCH] Multi Ruby setup didn't support more than one runtime at a time Signed-off-by: Prabhu Subramanian --- .github/workflows/container-tests.yml | 14 --------- .github/workflows/nodejstests.yml | 2 +- .github/workflows/npm-release.yml | 41 --------------------------- build.sbt | 2 +- codemeta.json | 2 +- wrapper/nodejs/package-lock.json | 4 +-- wrapper/nodejs/package.json | 2 +- 7 files changed, 6 insertions(+), 61 deletions(-) diff --git a/.github/workflows/container-tests.yml b/.github/workflows/container-tests.yml index 66079ef..d0f12b0 100644 --- a/.github/workflows/container-tests.yml +++ b/.github/workflows/container-tests.yml @@ -87,20 +87,6 @@ jobs: - name: Check rbastgen 3.4.1 run: | rbastgen --help - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.3.7' - bundler-cache: false - - name: Check rbastgen 3.3.7 - run: | - rbastgen --help - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.1.6' - bundler-cache: false - - name: Check rbastgen 3.1.6 - run: | - rbastgen --help - uses: ruby/setup-ruby@v1 with: ruby-version: 'jruby-9.4' diff --git a/.github/workflows/nodejstests.yml b/.github/workflows/nodejstests.yml index a6ba025..2552612 100644 --- a/.github/workflows/nodejstests.yml +++ b/.github/workflows/nodejstests.yml @@ -13,7 +13,7 @@ jobs: os: [ubuntu-24.04, macos-latest] java-version: ['21', '23'] node-version: ['20.x', '22.x', '23.x'] - ruby: ["3.1.6", "3.2.6", "3.3.7", "3.4.1", "jruby-9.4"] + ruby: ["3.4.1", "jruby-9.4"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index 5664023..7765420 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -47,30 +47,6 @@ jobs: run: | cd wrapper/nodejs bash build.sh - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.3.7' - bundler-cache: false - - name: Prepare 3.3.0 version - run: | - cd wrapper/nodejs - bash build.sh - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.2.6' - bundler-cache: false - - name: Prepare 3.2.0 version - run: | - cd wrapper/nodejs - bash build.sh - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.1.6' - bundler-cache: false - - name: Prepare 3.1.0 version - run: | - cd wrapper/nodejs - bash build.sh - uses: ruby/setup-ruby@v1 with: ruby-version: 'jruby-9.4' @@ -126,23 +102,6 @@ jobs: with: ruby-version: '3.4.1' bundler-cache: false - - name: Check rbastgen 3.4.1 - run: | - rbastgen --help - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.3.7' - bundler-cache: false - - name: Check rbastgen 3.3.7 - run: | - rbastgen --help - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.1.6' - bundler-cache: false - - name: Check rbastgen 3.1.6 - run: | - rbastgen --help - uses: ruby/setup-ruby@v1 with: ruby-version: 'jruby-9.4' diff --git a/build.sbt b/build.sbt index eddcbc9..d03bc97 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,6 @@ name := "atom" ThisBuild / organization := "io.appthreat" -ThisBuild / version := "2.1.9" +ThisBuild / version := "2.1.10" ThisBuild / scalaVersion := "3.6.2" val chenVersion = "2.3.2" diff --git a/codemeta.json b/codemeta.json index 0f98169..7af8e4d 100644 --- a/codemeta.json +++ b/codemeta.json @@ -7,7 +7,7 @@ "downloadUrl": "https://github.com/AppThreat/atom", "issueTracker": "https://github.com/AppThreat/atom/issues", "name": "atom", - "version": "2.1.9", + "version": "2.1.10", "description": "Atom is a novel intermediate representation for next-generation code analysis.", "applicationCategory": "code-analysis", "keywords": [ diff --git a/wrapper/nodejs/package-lock.json b/wrapper/nodejs/package-lock.json index cea2211..3157c7f 100644 --- a/wrapper/nodejs/package-lock.json +++ b/wrapper/nodejs/package-lock.json @@ -1,12 +1,12 @@ { "name": "@appthreat/atom", - "version": "2.1.9", + "version": "2.1.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@appthreat/atom", - "version": "2.1.9", + "version": "2.1.10", "license": "Apache-2.0", "dependencies": { "@babel/parser": "^7.26.3", diff --git a/wrapper/nodejs/package.json b/wrapper/nodejs/package.json index 8ebf71f..c429d3e 100644 --- a/wrapper/nodejs/package.json +++ b/wrapper/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@appthreat/atom", - "version": "2.1.9", + "version": "2.1.10", "description": "Create atom (⚛) representation for your application, packages and libraries", "exports": "./index.js", "type": "module",