Skip to content

Commit 12f2c19

Browse files
committed
ci: fix ci
1 parent 99056ca commit 12f2c19

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/lint.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ jobs:
1515
matrix:
1616
node-version: [ '20.9' ]
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Use Node.js ${{ matrix.node-version }}
2020
uses: actions/setup-node@v3
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323
- name: Install Foundry
2424
uses: foundry-rs/foundry-toolchain@v1
25-
with:
26-
version: nightly
25+
2726
- name: Cache node modules
2827
id: cache-npm
2928
uses: actions/cache@v3
@@ -46,4 +45,4 @@ jobs:
4645
- name: Check Ts Style
4746
run: npm run prettier:ts
4847
- name: Check Solidity Style
49-
run: npm run lint:sol
48+
run: forge fmt --check

.github/workflows/test.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ jobs:
1212
name: Foundry Forge Contract CI
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
with:
1717
submodules: recursive
1818
- name: Install Foundry
1919
uses: foundry-rs/foundry-toolchain@v1
20-
with:
21-
version: nightly
2220
- name: Install Forge
2321
run: forge install
2422
- name: Build

0 commit comments

Comments
 (0)