Skip to content

Merge pull request #23 from reidmorrison/add-secrets-manager-provider #63

Merge pull request #23 from reidmorrison/add-secrets-manager-provider

Merge pull request #23 from reidmorrison/add-secrets-manager-provider #63

Workflow file for this run

name: build
on:
- push
- pull_request
jobs:
lint:
name: Rubocop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
# Run once rather than across the matrix: TargetRubyVersion in .rubocop.yml decides which cops
# apply, so the result does not depend on the Ruby that rubocop itself runs on.
- name: Run Rubocop
run: bundle exec rubocop
test:
name: "Test: Ruby ${{ matrix.ruby }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [3.2, 3.3, 3.4, "4.0"]
steps:
- uses: actions/checkout@v7
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Ruby Version
run: ruby --version
# `rake test` rather than the default task, so rubocop is not repeated on every matrix entry.
- name: Run Tests
run: bundle exec rake test