Skip to content

Commit

Permalink
fix: pragma and add workflow
Browse files Browse the repository at this point in the history
prestwich committed May 24, 2022

Verified

This commit was signed with the committer’s verified signature.
Bwc9876 Ben C
1 parent c4f2223 commit 57f795c
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on: [push]

name: test

jobs:
check:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Run tests @ 0.8.13
run: forge test -vvv --use 0.8.13

- name: Run tests @ 0.7.6
run: forge test -vvv --use 0.7.6

- name: Run snapshot
run: forge snapshot
2 changes: 1 addition & 1 deletion src/ExcessivelySafeCall.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity 0.8.10;
pragma solidity >=0.7.6;

library ExcessivelySafeCall {
uint256 constant LOW_28_MASK =

0 comments on commit 57f795c

Please sign in to comment.