Skip to content

gem and bundler updates #184

gem and bundler updates

gem and bundler updates #184

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check out logjam core
run: sed -i -e 's/url = git:/url = https:/' .gitmodules && git submodule init && git submodule update
- name: Start containers
run: docker-compose -f docker-compose.yml up -d
- name: Install system packages
run: sudo apt-get update && sudo apt-get install build-essential zlib1g-dev libssl-dev libzmq3-dev
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install node packages
run: yarn install --frozen-lockfile
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.1
- name: Install gems
run: bundle install
- name: Run tests
run: bundle exec rake
- name: Stop containers
if: always()
run: docker-compose -f docker-compose.yml down