Release v6.1.0 #413
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
name: Message Validation | |
on: | |
pull_request: | |
paths: | |
- "spec/**" | |
push: | |
branches: | |
- 'v*-release' | |
- 'starling-v*-release' | |
- 'libsbp-v*-release' | |
tags: | |
- 'v*' | |
paths: | |
- "spec/**" | |
jobs: | |
validation: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Current Spec | |
uses: actions/checkout@v2 | |
- name: Checkout Previous Spec | |
uses: actions/checkout@v2 | |
with: | |
ref: master | |
path: previous | |
- name: Prepare YAML Comparison | |
run: | | |
mkdir previous-spec | |
mkdir current-spec | |
cp previous/spec/yaml/swiftnav/sbp/*.yaml previous-spec/ | |
cp spec/yaml/swiftnav/sbp/*.yaml current-spec/ | |
- name: Validate Spec | |
run: | | |
bash scripts/validate.bash previous-spec current-spec |