Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error with STPAtool check #24

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch

Check warning on line 5 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / build

5:81 [line-length] line too long (85 > 80 characters)
push:
branches: [ main ]
pull_request:
Expand All @@ -11,7 +11,7 @@
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel

Check warning on line 14 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / build

14:81 [line-length] line too long (88 > 80 characters)
jobs:
# This workflow contains a single job called "build"
build:
Expand All @@ -22,18 +22,22 @@
STPATOOLS_VERSION: "42e07abc5510f5864aa102aa7ae1e8349911a620"
STPATOOLS_REPO: "https://gitlab.com/CodethinkLabs/stpatools.git"

# Steps represent a sequence of tasks that will be executed as part of the job

Check warning on line 25 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / build

25:81 [line-length] line too long (82 > 80 characters)
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it

Check warning on line 27 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / build

27:81 [line-length] line too long (85 > 80 characters)
- uses: actions/checkout@v2

# Check that YAML files are well-formed
- name: YAML lint
run: yamllint -d relaxed .

# Install specific version of ruamel.yaml required by STPAtools
- name: Install ruamel.yaml
run: pip3 install ruamel.yaml==0.16.7

# Install specific version of STPA tools from repo
- name: Install STPA tools
run: pip3 install "git+${{env.STPATOOLS_REPO}}@${{env.STPATOOLS_VERSION}}"

Check warning on line 40 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / build

40:81 [line-length] line too long (82 > 80 characters)

# Validate STPA files
- name: Validate STPA files (STPA_DynMA)
Expand Down
Loading