Skip to content

Feature/use reusable workflow #48

Feature/use reusable workflow

Feature/use reusable workflow #48

name: Build, Lint and Test
on:
pull_request:
workflow_dispatch:
inputs:
runner:
description: Which runner to use
type: choice
default: 'ubuntu-22.04'
required: true
options:
- 'ubuntu-22.04'
- 'large-ubuntu-22.04-xxl'
schedule:
- cron: '33 13,1 * * *'
jobs:
ci:
name: Build, Lint and Test
uses: everest/everest-ci/.github/workflows/continuous_integration.yml@feature/add-reusable-ci-workflow

Check failure on line 20 in .github/workflows/build_and_test.yaml

View workflow run for this annotation

GitHub Actions / Build, Lint and Test

Invalid workflow file

The workflow is not valid. In .github/workflows/build_and_test.yaml (Line: 20, Col: 11): Error from called workflow everest/everest-ci/.github/workflows/continuous_integration.yml@feature/add-reusable-ci-workflow (Line: 332, Col: 15): Unrecognized named-value: 'needs'. Located at position 1 within expression: needs.setup-env.outputs.sha
permissions:
contents: read
packages: write
secrets:
coverage_deploy_token: ${{ secrets.SA_GITHUB_PAT }}
with:
runner: ${{ inputs.runner || 'ubuntu-22.04' }}
artifact_deploy_target_repo: EVerest/everest.github.io
docker_registry: ghcr.io
ctest_report_path: ctest-report
coverage_report_path: gcovr-coverage
coverage_xml_path: gcovr-coverage-xml.xml
dist_path: dist
use_build_cache: true