File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
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
+ sparse-checkout-cone-mode : true
29
+ sparse-checkout : run-script-evaluations
30
+ path : temp
31
+
32
+ - name : Setup working directory
33
+ run : mv temp/runs-script-evaluations/* . && rm -rf temp
34
+
35
+ - name : Overwrite cabal.project.local
36
+ uses : DamianReeves/write-file-action@master
37
+ with :
38
+ path : cabal.project.local
39
+ write-mode : overwrite
40
+ contents : |
41
+ packages:
42
+ plutus/plutus-core
43
+ plutus/plutus-ledger-api
44
+
45
+ allow-newer:
46
+ , plutus-core
47
+ , plutus-ledger-api
48
+
49
+ - name : Evaluate / ${{ matrix.ghc }} / x86_64-linux
50
+ run : |
51
+ nix develop --no-warn-dirty --accept-flake-config .#${{ matrix.ghc }} \
52
+ --command bash -c 'cabal clean && cabal update && evaluate'
You can’t perform that action at this time.
0 commit comments