We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6640eab commit 3ee59b6Copy full SHA for 3ee59b6
.github/workflows/lint.yml
@@ -0,0 +1,23 @@
1
+name: Lint
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ lint:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Setup Deno
18
+ uses: denoland/setup-deno@v2
19
+ with:
20
+ deno-version: v2.x
21
22
+ - name: Run linter
23
+ run: deno task lint
deno.json
@@ -1,5 +1,6 @@
{
"tasks": {
+ "lint": "deno fmt --check && deno lint",
"build": {
"description": "Build contracts from the contracts directory and output bytecode and abi in the codegen directory",
"command": "deno run --env-file --allow-all tools/build.ts"
0 commit comments