Skip to content

lock cfndsl version in docker image #58

lock cfndsl version in docker image

lock cfndsl version in docker image #58

Workflow file for this run

name: test and build gem
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
ruby: ['3.1']
runs-on: ${{ matrix.os }}
steps:
- name: Check out the repo
uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: rspec
run: |
gem install bundler --no-doc
bundle install
bundle exec rspec
env:
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ap-southeast-2
- name: build gem
run: |
gem build cfhighlander.gemspec