Skip to content

Update to version 0.12 for supporting ruby 3.3.10 #10

Update to version 0.12 for supporting ruby 3.3.10

Update to version 0.12 for supporting ruby 3.3.10 #10

Workflow file for this run

# This workflow uses actions that are not certified by GitHub. They are
# provided by a third-party and are governed by separate terms of service,
# privacy policy, and support documentation.
#
# This workflow will install a prebuilt Ruby version, install dependencies, and
# run tests and linters.
name: "Frederick API Gem CI"
on:
push:
branches: [master]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
RUBY_VERSION: 3.3.10
DOCKER: true
RAILS_ENV: test
jobs:
# RSpec tests
rspec-tests:
name: "RSpec Tests"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- name: Run RSpec tests
run: bundle exec rspec
# Rubocop linting
lint:
name: "Lint"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- name: Lint Ruby files
run: bundle exec rubocop