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