Skip to content

Commit 3eace3e

Browse files
committed
wip
1 parent a6a868d commit 3eace3e

File tree

2 files changed

+24
-22
lines changed

2 files changed

+24
-22
lines changed

.github/workflows/checks.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,30 @@ env:
1212
CLICOLOR: 1
1313

1414
jobs:
15+
natspec:
16+
name: Natspec Linting
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Harden Runner
20+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
21+
with:
22+
egress-policy: block
23+
allowed-endpoints: >
24+
github.com:443
25+
release-assets.githubusercontent.com:443
26+
objects.githubusercontent.com:443
27+
raw.githubusercontent.com:443
28+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
29+
- name: Run Natspec Lint
30+
uses: beeb/lintspec@fd5b71ffc838f63f81caf3e85e90760d124efac2 # v0.4.1
31+
with:
32+
working-directory: "./"
33+
paths: "[./src/contracts/]" # Only lint src/contracts/
34+
exclude: "[]"
35+
extra-args: "" # TODO: Config
36+
version: "latest"
37+
fail-on-problem: "true"
38+
1539
typos:
1640
name: Typo Linting
1741
runs-on: ubuntu-latest

.github/workflows/natspec.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)