Skip to content

Commit c47e437

Browse files
authored
Bring repo up to date (#19)
* bring repo up to date * add main run-kontrol.sh * permissions
1 parent 498529c commit c47e437

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+9561
-122
lines changed

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,12 @@
44
[submodule "lib/kontrol-cheatcodes"]
55
path = lib/kontrol-cheatcodes
66
url = https://github.com/runtimeverification/kontrol-cheatcodes.git
7+
[submodule "oz_erc20/lib/forge-std"]
8+
path = oz_erc20/lib/forge-std
9+
url = https://github.com/foundry-rs/forge-std
10+
[submodule "oz_erc20/lib/kontrol-cheatcodes"]
11+
path = oz_erc20/lib/kontrol-cheatcodes
12+
url = https://github.com/runtimeverification/kontrol-cheatcodes
13+
[submodule "oz_erc20/lib/openzeppelin-contracts"]
14+
path = oz_erc20/lib/openzeppelin-contracts
15+
url = https://github.com/OpenZeppelin/openzeppelin-contracts

lib/forge-std

Submodule forge-std deleted from 82e6f53

lib/kontrol-cheatcodes

Submodule kontrol-cheatcodes deleted from 0048278

README.md renamed to old/README.md

File renamed without changes.

erc20.sh renamed to old/erc20.sh

File renamed without changes.

exclude renamed to old/exclude

File renamed without changes.
File renamed without changes.

lemmas.k renamed to old/lemmas.k

File renamed without changes.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Tests
2+
on: [push, pull_request]
3+
4+
jobs:
5+
check:
6+
name: Foundry project
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
with:
11+
submodules: recursive
12+
13+
- name: Install Foundry
14+
uses: onbjerg/foundry-toolchain@v1
15+
with:
16+
version: nightly
17+
18+
- name: Install dependencies
19+
run: forge install
20+
- name: Run tests
21+
run: forge test -vvv
22+
- name: Build Test with older solc versions
23+
run: |
24+
forge build --contracts src/Test.sol --use solc:0.8.0
25+
forge build --contracts src/Test.sol --use solc:0.7.6
26+
forge build --contracts src/Test.sol --use solc:0.7.0
27+
forge build --contracts src/Test.sol --use solc:0.6.0

old/lib/forge-std/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cache/
2+
out/
3+
.vscode
4+
.idea

0 commit comments

Comments
 (0)