Skip to content

Add CI/CD workflows for GitHub Actions #4

Add CI/CD workflows for GitHub Actions

Add CI/CD workflows for GitHub Actions #4

Workflow file for this run

# This workflow will run whenever a PR is opened or changed.
#
# It will run tests and a few safety checks.
#
# If everything passes it can be set to auto-deploy to your staging app on Heroku.
#
# This workflow is primarily meant to be triggered automatically, but it can be run manually.
name: " πŸ’» PR CI/CD Pipeline (staging)"
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
jobs:
mini_test:
name: πŸ§ͺ MiniTest
uses: ./.github/workflows/_run_tests.yml
secrets: inherit
super_scaffolding:
name: πŸ—οΈ Super Scaffolding Tests
uses: ./.github/workflows/_run_super_scaffolding_tests.yml

Check failure on line 21 in .github/workflows/ci-cd-pipeline.yml

View workflow run for this annotation

GitHub Actions / πŸ’» PR CI/CD Pipeline (staging)

Invalid workflow file

The workflow is not valid. In .github/workflows/ci-cd-pipeline.yml (Line: 21, Col: 11): Error from called workflow bullet-train-co/bullet_train/.github/workflows/_run_super_scaffolding_tests.yml@bf9081f160e3c5d57a1e15e90c5ee005338fa565: (Line: 16, Col: 41, Idx: 490) - (Line: 16, Col: 48, Idx: 497): While scanning a plain scalar, find unexpected ':'.
secrets: inherit
standardrb:
name: πŸ”¬ Standardrb
uses: ./.github/workflows/_standardrb.yml
secrets: inherit
db_schema:
name: πŸ”Ž DB Schema Check
uses: ./.github/workflows/_database_schema_check.yml
secrets: inherit
# If you'd like to auto-deploy to your staging environment you can uncomment this next block.
# You'll need to set HEROKU_EMAIL and HEROKU_API_KEY in your repo secrets.
# Be sure to set the app name correctly below.
# deploy:
# name: 🚒 Deploy to Heroku
# uses: ./.github/workflows/_deploy_heroku.yml
# needs: [mini_test, super_scaffolding, standardrb, db_schema]
# secrets: inherit
# with:
# heroku-app-name: ""