Introduce "mlakey-parser" for ASN.1 MLA key import & export #317
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: Ensure repository healthy state over time | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
bindings-headers-sync: | |
# Assert .h and .hpp bindings files are the ones generated | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: cbindgen | |
- name: Test C header | |
working-directory: bindings/C | |
run: cbindgen --config cbindgen_c.toml | diff - mla.h | |
- name: Test C++ header | |
working-directory: bindings/C | |
run: cbindgen --config cbindgen_cpp.toml | diff - mla.hpp | |
changelog-format: | |
# Ensure CHANGELOGs respect the KeepAChangelog format | |
strategy: | |
matrix: | |
changelog: [mlakey-parser, mla, mlar] | |
include: | |
- changelog: mlakey-parser | |
path: mlakey-parser | |
- changelog: mla | |
path: mla | |
- changelog: mlar | |
path: mlar | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get ${{ matrix.changelog }} Changelog Entry | |
uses: mindsers/changelog-reader-action@v2 | |
id: changelog_reader | |
with: | |
# Check format for the last 10 entries | |
validation_depth: 10 | |
path: ${{ matrix.path }}/CHANGELOG.md | |
- name: Information | |
run: | | |
echo -e "\e[1mVersion\e[0m ${{ steps.changelog_reader.outputs.version }}" | |
echo -e "\e[1mStatus\e[0m ${{ steps.changelog_reader.outputs.status }}" | |
echo -en "\e[1mBody\e[0m" | |
cat << 'EOF' | |
${{ steps.changelog_reader.outputs.changes }} | |
EOF |