Skip to content

Build Test Lint of main by @orangewolf #558

Build Test Lint of main by @orangewolf

Build Test Lint of main by @orangewolf #558

name: "Build Test Lint"
run-name: Build Test Lint of ${{ github.ref_name }} by @${{ github.actor }}
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
inputs:
debug_step:
required: false
description: 'Pause the selected step to debug using tmate'
type: choice
default: ''
options:
- ''
- build
- test
- lint
jobs:
build:
uses: scientist-softserv/actions/.github/workflows/build.yaml@choose-which-step-to-debug-with-tmate
secrets: inherit
with:
platforms: "linux/amd64"
webTarget: hyku-base
solrTarget: hyku-solr
workerTarget: hyku-worker
test:
needs: build
uses: scientist-softserv/actions/.github/workflows/test.yaml@choose-which-step-to-debug-with-tmate
with:
confdir: '/app/samvera/hyrax-webapp/solr/conf'
webTarget: hyku-web

Check failure on line 37 in .github/workflows/build-test-lint.yaml

View workflow run for this annotation

GitHub Actions / Build Test Lint

Invalid workflow file

The workflow is not valid. .github/workflows/build-test-lint.yaml (Line: 37, Col: 18): Invalid input, webTarget is not defined in the referenced workflow. .github/workflows/build-test-lint.yaml (Line: 38, Col: 21): Invalid input, workerTarget is not defined in the referenced workflow.
workerTarget: hyku-worker
rspec_cmd: "cd .. && gem install semaphore_test_boosters && bundle && rspec_booster --job $CI_NODE_INDEX/$CI_NODE_TOTAL"
lint:
needs: build
uses: scientist-softserv/actions/.github/workflows/lint.yaml@choose-which-step-to-debug-with-tmate
with:
webTarget: hyku-web
workerTarget: hyku-worker
rubocop_cmd: "cd .. && bundle && bundle exec rubocop --parallel --format progress"