Assume PROTOBUF_WRAPPED_IN_ANY if format is unspecified #38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ******************************************************************************** | |
# Copyright (c) 2024 Contributors to the Eclipse Foundation | |
# | |
# See the NOTICE file(s) distributed with this work for additional | |
# information regarding copyright ownership. | |
# | |
# This program and the accompanying materials are made available under the | |
# terms of the Apache License Version 2.0 which is available at | |
# https://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# *******************************************************************************/ | |
# Performs requirements tracing using OpenFastTrace (https://github.com/itsallcode/openfasttrace) | |
# Uploads tracing report, returns the corresponding download URL as an output | |
name: Requirements tracing | |
on: | |
workflow_call: | |
inputs: | |
oft-file-patterns: | |
description: | | |
A whitespace separated list of glob patterns which specify the files to include in the OFT trace run. | |
If not specified, defaults to all files relevant for checking up-rust against the uProtocol Specification. | |
type: string | |
outputs: | |
tracing-report-url: | |
description: 'URL of the requirements tracing report' | |
value: ${{ jobs.tracing.outputs.tracing-report-url }} | |
workflow_dispatch: | |
inputs: | |
oft-file-patterns: | |
description: | | |
A whitespace separated list of glob patterns which specify the files to include in the OFT trace run. | |
If not specified, defaults to all files relevant for checking up-rust against the uProtocol Specification. | |
type: string | |
pull_request: | |
jobs: | |
tracing: | |
name: Run OpenFastTrace | |
runs-on: ubuntu-latest | |
outputs: | |
tracing-report-url: ${{ steps.run-oft.outputs.tracing-report-url }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- name: Run OpenFastTrace | |
id: run-oft | |
uses: ./.github/actions/run-oft | |
with: | |
file-patterns: ${{ inputs.oft-file-patterns || 'up-spec/*.adoc up-spec/*.md up-spec/basics up-spec/up-l2/api.adoc *.adoc *.md *.rs .github examples src tests tools' }} | |
- name: "Determine exit code" | |
run: | | |
exit ${{ steps.run-oft.outputs.oft-exit-code }} |