Skip to content

Commit b6c13db

Browse files
committed
Evaluation workflow
1 parent e59f594 commit b6c13db

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/evaluate.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: "Evaluate mainnet scripts"
2+
3+
# on:
4+
# schedule:
5+
# - cron: "0 0 * * 5" # Run every Friday at midnight
6+
7+
on:
8+
pull_request:
9+
10+
jobs:
11+
build:
12+
name: Build
13+
runs-on: [plutus-script-evaluation-ci, self-hosted]
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
ghc: [ghc96]
18+
steps:
19+
- name: Checkout the Plutus Repo
20+
uses: actions/checkout@master
21+
with:
22+
repository: IntersectMBO/plutus
23+
path: plutus
24+
25+
- name: Checkout this Repo
26+
uses: actions/checkout@main
27+
with:
28+
path: run-script-evaluations
29+
30+
- name: Overwrite cabal.project.local
31+
uses: DamianReeves/write-file-action@master
32+
with:
33+
path: cabal.project.local
34+
write-mode: overwrite
35+
contents: |
36+
packages:
37+
plutus/plutus-core
38+
plutus/plutus-ledger-api
39+
40+
allow-newer:
41+
, plutus-core
42+
, plutus-ledger-api
43+
44+
- name: Evaluate / ${{ matrix.ghc }} / x86_64-linux
45+
run: |
46+
nix develop --no-warn-dirty --accept-flake-config .#${{ matrix.ghc }} \
47+
--command bash -c 'cabal clean && cabal update && evaluate'

0 commit comments

Comments
 (0)