Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit f86c00c

Browse files
authored
Merge pull request #8 from CheckerNetwork/chore/add-workflow-and-codeowners
chore: add workflow and codeowners
2 parents 6cac1d8 + 193adf3 commit f86c00c

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @pyropy @juliangruber @NikolasHaimerl

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
7+
env:
8+
ZINNIA_VERSION: v0.20.2
9+
jobs:
10+
test-linux:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- run:
15+
curl -L https://github.com/filecoin-station/zinnia/releases/download/${{ env.ZINNIA_VERSION }}/zinnia-linux-x64.tar.gz | tar -xz
16+
- run: ./zinnia run test.js
17+
18+
lint:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
23+
- run: npx standard

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ Once Zinnia is installed, you can execute Spark Spot Check with a simple command
1313
zinnia run main.js
1414
```
1515

16+
## Development
17+
18+
Make sure you have installed [Zinnia runtime](https://github.com/CheckerNetwork/zinnia).
19+
20+
```
21+
$ # Lint
22+
$ npx standard
23+
$ # Run module
24+
$ zinnia run main.js
25+
$ # Test module
26+
$ zinnia run test.js
27+
```
28+
1629
## Configuration
1730
All configuration options are managed through the `config.js` file. The following parameters can be customized:
1831

lib/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export const RPC_URL = 'https://api.node.glif.io/'
2-
export const RPC_AUTH = 'cL/ik5kups4LCAg6a+s6CS40/JcARERwZ4uMP8WI6ho='
2+
export const RPC_AUTH = 'KZLIUb9ejreYOm-mZFM3UNADE0ux6CrHjxnS2D2Qgb8='
33
export const MERIDIAN_CONTRACT = '0x8460766edc62b525fc1fa4d628fc79229dc73031'
44
export const SPARK_BASE_URL = 'https://api.filspark.com'

0 commit comments

Comments
 (0)