Skip to content

[morphy] Merge pull request #289 from Fryguy/weak_deps #1466

[morphy] Merge pull request #289 from Fryguy/weak_deps

[morphy] Merge pull request #289 from Fryguy/weak_deps #1466

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- '2.6'
- '2.7'
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: bundle exec rake
build:
needs: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up registry credentials
if: ${{ github.event_name != 'pull_request' }}
run: |
echo "REGISTRY_USERNAME=${{ secrets.REGISTRY_USERNAME }}" >> $GITHUB_ENV
echo "REGISTRY_PASSWORD=${{ secrets.REGISTRY_PASSWORD }}" >> $GITHUB_ENV
- name: Run container build script
run: bin/build_container_image