Correct annotations in 008-sum_product.dfy #24
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: Test New Dafny Files | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-changed: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v20 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v45 | |
- name: Test that all dafny files are named correctly | |
run: nix run .#dafny-namecheck | |
- name: Test that all dafny files contain an impl | |
run: nix run .#check-contains-impl | |
- name: Run Dafny on new files | |
env: | |
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} | |
run: nix run .#dafny-check-new "${ALL_CHANGED_FILES}" |