infra: move app-architecture to getting-started + copy portal images … #25
This file contains hidden or 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: Interface Specification | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/interface-spec.yml | |
| - docs/references/ic-interface-spec/** | |
| - docs/references/http-gateway-protocol-spec.md | |
| - public/references/certificates.cddl | |
| - public/references/requests.cddl | |
| - public/references/http-gateway.did | |
| - public/references/ic.did | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| cddl: | |
| name: Check cddl files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| - name: Check cddl files | |
| run: | | |
| docker run --rm -v $PWD/public/references:/workdir ghcr.io/anweiss/cddl-cli:0.9.1 compile-cddl --cddl /workdir/certificates.cddl | |
| docker run --rm -v $PWD/public/references:/workdir ghcr.io/anweiss/cddl-cli:0.9.1 compile-cddl --cddl /workdir/requests.cddl | |
| candid: | |
| name: Check candid files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| - name: Check candid files | |
| run: | | |
| curl -L https://github.com/dfinity/candid/releases/download/2023-07-25/didc-linux64 -o didc | |
| chmod +x didc | |
| ./didc check public/references/http-gateway.did | |
| ./didc check public/references/ic.did |