Skip to content

Commit 4a9fc46

Browse files
authored
Merge pull request holographxyz#333 from Think-and-Dev/comment_tests_NatSpec_Format
Comment tests NatSpec format 03_Erc20Enforcer.t.sol
2 parents e415961 + 81fd5ed commit 4a9fc46

File tree

2 files changed

+548
-17
lines changed

2 files changed

+548
-17
lines changed

.github/workflows/enforce_prettier.yml

+12-11
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,17 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- name: Checkout
23-
uses: actions/checkout@v2
22+
- name: Check out Git repository
23+
uses: actions/checkout@v3
24+
- name: Set up Node.js
25+
uses: actions/setup-node@v3
2426
with:
25-
fetch-depth: 0
26-
ref: ${{ github.head_ref }}
27-
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
28-
persist-credentials: false
29-
30-
- name: Prettify code
31-
uses: creyD/[email protected]
27+
node-version: '20.12.2'
28+
- uses: pnpm/action-setup@v3
29+
name: Install pnpm
3230
with:
33-
prettier_options: --check deploy/**/*.ts test/**/*.ts scripts/**/*.ts
34-
dry: True
31+
version: 8
32+
- name: Install dependencies
33+
run: pnpm install
34+
- name: Prettier Check
35+
run: pnpm prettier:check

0 commit comments

Comments
 (0)