Adapt to use the new integer type and to pass stricter overflow checks
#1334
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
| # This Source Code Form is subject to the terms of the Mozilla Public | |
| # License, v. 2.0. If a copy of the MPL was not distributed with this | |
| # file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
| # | |
| # Copyright (c) 2022 ETH Zurich. | |
| name: Verify bitwise operations in Dafny | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: # run this workflow on every pull_request | |
| jobs: | |
| verify: | |
| # Dafny fails for ubuntu-24.04 with error "no libssl found". | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout the current repository | |
| uses: actions/checkout@v3 | |
| - name: "Install Dafny" | |
| uses: dafny-lang/setup-dafny-action@v1 | |
| - name: "Verify bitwise operations." | |
| run: | | |
| dafny verification/utils/bitwise/proofs.dfy |