-
Notifications
You must be signed in to change notification settings - Fork 158
52 lines (41 loc) · 1.05 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: ci
on:
push:
paths:
- '**.sol'
pull_request:
types: [opened, synchronize, reopened]
jobs:
tests:
name: Forge Testing
runs-on: ubuntu-latest
strategy:
matrix:
profile: [via-ir,intense]
steps:
- uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Dependencies
run: forge install
- name: Run Lint Check
run: forge fmt --check
- name: Run Tests with ${{ matrix.profile }}
run: FOUNDRY_PROFILE=${{ matrix.profile }} forge test
codespell:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run codespell
uses: codespell-project/[email protected]
with:
check_filenames: true
ignore_words_list: usera
skip: ./.git,package-lock.json,ackee-blockchain-solady-report.pdf,EIP712Mock.sol