forked from OpenZeppelin/compact-contracts
-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (40 loc) · 1007 Bytes
/
Copy pathtest.yml
File metadata and controls
48 lines (40 loc) · 1007 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
37
38
39
40
41
42
43
44
45
46
47
48
name: Compact Contracts Test Suite
on:
pull_request:
paths-ignore:
- "**.md"
- ".gitignore"
- "biome.json"
- "turbo.json"
push:
branches:
- main
paths-ignore:
- "**.md"
- ".gitignore"
- "biome.json"
- "turbo.json"
jobs:
run-suite:
name: Run Test Suite
runs-on: ubuntu-24.04
permissions:
contents: read
timeout-minutes: 60
steps:
- name: Harden Runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- name: Check out code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 2 # Recommended by turbo team
- name: Setup Environment
uses: ./.github/actions/setup
- name: Compile contracts
run: yarn compile
- name: Run type checks
run: yarn types
- name: Run tests
run: yarn test