name: Uptime

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest
    container:
      image: ruby:2.6.5
    steps:
      - name: Install Unipept Gem
        run: |
          gem install unipept
      - uses: actions/checkout@v2
      - name: Run uptime check
        run: |
          chmod u+x ./test/uptime/check_uptime_api.sh
          ./test/uptime/check_uptime_api.sh

name: Uptime

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest
    container:
      image: ruby:2.6.5
    steps:
      - name: Install Unipept Gem
        run: |
          gem install unipept
      - name: Install required utilities
        run: |
          apt-get update
          apt-get -y install bc
      - uses: actions/checkout@v2
      - name: Run uptime check
        shell: bash
        run: |
          chmod u+x ./test/uptime/check_uptime_api.sh
          ./test/uptime/check_uptime_api.sh

Add required utilities to workflow
Add required utilities to workflow
