forked from OpenZeppelin/compact-contracts
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (29 loc) · 751 Bytes
/
Copy pathchecks.yml
File metadata and controls
36 lines (29 loc) · 751 Bytes
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
name: Format and Lint
env:
TURBO_TELEMETRY_DISABLED: 1
on:
pull_request:
push:
branches:
- main
jobs:
checks:
name: Run Checks
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- name: Check out code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 2 # Recommended by turbo team
- name: Setup Environment
uses: ./.github/actions/setup
with:
skip-compact: "true"
- name: Format & Lint
run: yarn fmt-and-lint:ci