Chore: Proofs not depending on leaks of opaque + brittleness reduction #223
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: Checking examples in library documentation | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check-examples-in-docs: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: [ 3.13.1, 4.0.0 ] | |
os: [ ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dafny | |
uses: dafny-lang/[email protected] | |
with: | |
dafny-version: ${{ matrix.version }} | |
- name: Version information | |
run: | | |
dafny --version | |
echo ${{ matrix.os }} ${{ runner.os }} ${{ matrix.version }} | |
- name: Set up JS dependencies | |
run: npm install bignumber.js | |
- name: Verify Code and Examples | |
run: | | |
./Scripts/check-examples `find . -name '*.md'` |