Skip to content

feat: statically read key material from file in testing #27

feat: statically read key material from file in testing

feat: statically read key material from file in testing #27

on: [push]
name: PACT Data Model CI
concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test
working-directory: ./pact-data-model
run: |
cargo build
cargo test
cargo clippy -- -Dwarnings
generate_schema:
runs-on: ubuntu-latest
needs: build_and_test
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Generate schema
run: |
cargo run --bin pact-data-model