Skip to content

CCAP-132: Microservice skeleton with basic health check. (#1) #1

CCAP-132: Microservice skeleton with basic health check. (#1)

CCAP-132: Microservice skeleton with basic health check. (#1) #1

Workflow file for this run

name: Main Checks
on:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- run: git fetch origin main --depth=1
- name: RuboCop Linter
uses: andrewmcodes/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
spec:
runs-on: ubuntu-latest
env:
COVERAGE: 1
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Run tests
run: bundle exec rspec