This repository was archived by the owner on Jul 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +22
-23
lines changed Expand file tree Collapse file tree 2 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 29
29
grcov : grcov-linux-x86_64.tar.bz2
30
30
dove :
31
31
version : 1.1.4
32
- release : 1.1.4
33
- arch : linux-x86_64
34
32
35
33
env :
36
34
SKIP_WASM_BUILD : 1
@@ -66,16 +64,16 @@ jobs:
66
64
cp grcov ~/.cargo/bin/grcov
67
65
rm ${{ matrix.cfg.grcov }}
68
66
67
+ - name : Cache
68
+ uses : actions/cache@v2
69
+ with :
70
+ path : ~/.dove
71
+ key : ${{ matrix.cfg.os }}-dove
69
72
- name : get Dove
70
- run : |
71
- curl -sL --fail \
72
- -H "Accept: application/octet-stream" \
73
- -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
74
- -o "dove" \
75
- "https://github.com/pontem-network/move-tools/releases/download/${{ matrix.cfg.dove.release }}/dove-${{ matrix.cfg.dove.version }}-${{ matrix.cfg.dove.arch }}"
76
- sudo chown runner ./dove && chmod +x ./dove
77
- mv ./dove ~/.cargo/bin/dove
78
- dove -V
73
+ uses : pontem-network/get-dove@main
74
+ with :
75
+ version : ${{ matrix.cfg.dove.version }}
76
+ token : ${{ secrets.GITHUB_TOKEN }}
79
77
80
78
- name : Build test resources
81
79
run : make assets
Original file line number Diff line number Diff line change @@ -27,10 +27,11 @@ jobs:
27
27
matrix :
28
28
cfg :
29
29
- os : macos-latest
30
- dove : mac-x86_64
30
+ dove :
31
+ version : 1.1.4
31
32
- os : ubuntu-latest
32
- dove : linux-x86_64
33
-
33
+ dove :
34
+ version : 1.1.4
34
35
steps :
35
36
- name : Checkout repository
36
37
uses : actions/checkout@v2
@@ -52,16 +53,16 @@ jobs:
52
53
- name : Check formatting
53
54
run : cargo fmt -- --check
54
55
56
+ - name : Cache
57
+ uses : actions/cache@v2
58
+ with :
59
+ path : ~/.dove
60
+ key : ${{ matrix.cfg.os }}-dove
55
61
- name : get Dove
56
- run : |
57
- curl -sL --fail \
58
- -H "Accept: application/octet-stream" \
59
- -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
60
- -o "dove" \
61
- "https://github.com/pontem-network/move-tools/releases/download/1.1.4/dove-1.1.4-${{ matrix.cfg.dove }}"
62
- sudo chown runner ./dove && chmod +x ./dove
63
- mv ./dove ~/.cargo/bin/dove
64
- dove -V
62
+ uses : pontem-network/get-dove@main
63
+ with :
64
+ version : ${{ matrix.cfg.dove.version }}
65
+ token : ${{ secrets.GITHUB_TOKEN }}
65
66
66
67
- name : Build test resources
67
68
run : make assets
You can’t perform that action at this time.
0 commit comments