From 67eb8a1f0fef79a90e6e41ae1d19264216f140b3 Mon Sep 17 00:00:00 2001 From: gm Date: Tue, 5 Apr 2022 23:15:46 +0200 Subject: [PATCH] Set up Ruby via GitHub Actions --- .github/workflows/build_and_run.yaml | 7 +++++++ server/test/Gemfile | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 server/test/Gemfile diff --git a/.github/workflows/build_and_run.yaml b/.github/workflows/build_and_run.yaml index 087ba320..794fe876 100644 --- a/.github/workflows/build_and_run.yaml +++ b/.github/workflows/build_and_run.yaml @@ -76,6 +76,13 @@ jobs: with: path: debirf/build + - name: Setup Ruby and InSpec/Cinc-Auditor + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.1 + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + working-dir server + - name: Set up Coinboot requirements run: ./setup_coinboot_requirements diff --git a/server/test/Gemfile b/server/test/Gemfile new file mode 100644 index 00000000..fdf4bd66 --- /dev/null +++ b/server/test/Gemfile @@ -0,0 +1,4 @@ +source "https://rubygems.org" +source "https://packagecloud.io/cinc-project/stable" do + gem "cinc-auditor-bin" , '~> 5.10' +end