Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Description

### How has this been tested?

<!--
Is this a new or renamed blogpost?
Remember to update the root directory's Makefile so that the blogpost gets automatically verified.
-->
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ jobs:
node-version: 21.1

- name: "Install Dafny"
run: |
git clone https://github.com/dafny-lang/dafny.git
cd dafny && make z3-mac-arm && make exe
uses: dafny-lang/setup-dafny-action@v1.9.1
with:
dafny-version: "4.11.0"

- name: "Test Blogposts"
run: |
export PATH=/Users/runner/work/blog/blog/dafny/Binaries:$PATH
make check
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ check:
-assets/src/brittleness/verify.sh
-assets/src/teaching-material/verify.sh
assets/src/standard-libraries/test.sh
assets/src/cracking-the-coding-interview-permutations/verify.sh
-assets/src/semantics-of-regular-expressions/verify.sh
(cd assets/src/clear-specification-and-implementation && ./verify.sh)

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ To test the blog posts, run:

`make check`

Note that the `check` target does not automatically locate blog posts to test;
if you are writing a new blog post (or moving an existing one),
then you will need to add or update the `check` target
to run the appropriate test/verification commands.

If `make check` does not work, `make generate` might be able to fix things if ran locally, committed and pushed.

# Publish the blog post
Expand Down