File tree Expand file tree Collapse file tree 1 file changed +7
-22
lines changed Expand file tree Collapse file tree 1 file changed +7
-22
lines changed Original file line number Diff line number Diff line change 1
1
name : EasyCrypt compilation & check
2
2
3
- on : [push,pull_request,merge_group]
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' main'
7
+ pull_request :
4
8
5
9
env :
6
10
HOME : /home/charlie
7
11
OPAMYES : true
8
12
OPAMJOBS : 2
9
13
10
14
jobs :
11
- pre_job :
12
- name : Check for Duplicates Jobs
13
- runs-on : ubuntu-20.04
14
- outputs :
15
- should_skip : ${{ steps.skip_check.outputs.should_skip }}
16
- steps :
17
- - uses : fkirc/skip-duplicate-actions@v5
18
- id : skip_check
19
- with :
20
- concurrent_skipping : ' same_content_newer'
21
- skip_after_successful_duplicate : ' false'
22
-
23
15
compile-opam :
24
16
name : EasyCrypt compilation (opam)
25
- needs : pre_job
26
- if : needs.pre_job.outputs.should_skip != 'true'
27
17
runs-on : ubuntu-20.04
28
18
container :
29
19
image : ghcr.io/easycrypt/ec-build-box
38
28
39
29
compile-nix :
40
30
name : EasyCrypt compilation (nix)
41
- needs : pre_job
42
- if : needs.pre_job.outputs.should_skip != 'true'
43
31
env :
44
32
HOME : /home/runner
45
33
runs-on : ubuntu-20.04
60
48
61
49
check :
62
50
name : Check EasyCrypt Libraries
63
- needs : [pre_job, compile-opam]
64
- if : needs.pre_job.outputs.should_skip != 'true'
51
+ needs : compile-opam
65
52
runs-on : ubuntu-20.04
66
53
container :
67
54
image : ghcr.io/easycrypt/ec-build-box
95
82
96
83
fetch-external-matrix :
97
84
name : Fetch EasyCrypt External Projects Matrix
98
- needs : [pre_job]
99
85
runs-on : ubuntu-20.04
100
86
outputs :
101
87
matrix : ${{ steps.set-matrix.outputs.matrix }}
110
96
111
97
external :
112
98
name : Check EasyCrypt External Projects
113
- needs : [pre_job, compile-opam, fetch-external-matrix]
114
- if : needs.pre_job.outputs.should_skip != 'true'
99
+ needs : [compile-opam, fetch-external-matrix]
115
100
runs-on : ubuntu-20.04
116
101
container :
117
102
image : ghcr.io/easycrypt/ec-build-box
You can’t perform that action at this time.
0 commit comments