File tree Expand file tree Collapse file tree 1 file changed +37
-7
lines changed Expand file tree Collapse file tree 1 file changed +37
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Runs the specified hive testing suites
2
2
name : Hive
3
3
on :
4
- workflow_run :
5
- workflows : [Docker]
6
- types :
7
- - completed
4
+ merge_group :
5
+ push :
6
+ branches : [main]
7
+ pull_request :
8
+ branches : ["**"]
9
+ paths-ignore :
10
+ - " README.md"
11
+ - " LICENSE"
12
+ - " **/README.md"
13
+ - " **/docs/**"
14
+
15
+ concurrency :
16
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17
+ cancel-in-progress : true
8
18
9
19
env :
10
20
RUST_VERSION : 1.80.1
11
21
12
22
jobs :
23
+ docker-build :
24
+ name : Build and Upload image
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - uses : actions/checkout@v4
28
+ - name : Set up Docker Buildx
29
+ uses : docker/setup-buildx-action@v3
30
+ - name : Build Docker image
31
+ uses : docker/build-push-action@v5
32
+ with :
33
+ context : .
34
+ file : ./Dockerfile
35
+ load : true
36
+ tags : ethereum_rust
37
+ outputs : type=docker,dest=/tmp/ethereum_rust_image.tar
38
+ - name : Upload artifacts
39
+ uses : actions/upload-artifact@v4
40
+ with :
41
+ name : ethereum_rust_image
42
+ path : /tmp/ethereum_rust_image.tar
43
+
13
44
run-hive :
14
- if : ${{ github.event.workflow_run.conclusion == 'success' }}
15
45
name : ${{ matrix.name }}
46
+ needs : docker-build
16
47
runs-on : ubuntu-latest
17
48
strategy :
18
49
matrix :
36
67
- name : Download artifacts
37
68
uses : actions/download-artifact@v4
38
69
with :
39
- run-id : ${{ github.event.workflow_run.id }}
40
70
name : ethereum_rust_image
41
- github-token : ${{ secrets.GITHUB_TOKEN }}
71
+ path : /tmp
42
72
- name : Load image
43
73
run : |
44
74
docker load --input /tmp/ethereum_rust_image.tar
You can’t perform that action at this time.
0 commit comments