@@ -29,10 +29,18 @@ jobs:
29
29
runs-on : ubuntu-latest
30
30
steps :
31
31
- uses : actions/checkout@v4
32
+ with :
33
+ submodules : true
32
34
- name : Install toolchain
33
35
uses : dtolnay/rust-toolchain@master
34
36
with :
35
37
toolchain : ${{ env.RUSTC_VERSION }}
38
+ - name : Git Submodule Update
39
+ run : |
40
+ git config --global user.email "[email protected] "
41
+ git config --global user.name "GitHub Actions"
42
+ git submodule update --init --recursive
43
+ working-directory : ./solana
36
44
- name : make cargo-test-all
37
45
run : make cargo-test-all
38
46
working-directory : ./solana
@@ -42,11 +50,19 @@ jobs:
42
50
runs-on : ubuntu-latest
43
51
steps :
44
52
- uses : actions/checkout@v4
53
+ with :
54
+ submodules : true
45
55
- name : Install toolchain
46
56
uses : dtolnay/rust-toolchain@master
47
57
with :
48
58
toolchain : ${{ env.RUSTC_VERSION }}
49
59
components : clippy, rustfmt
60
+ - name : Git Submodule Update
61
+ run : |
62
+ git config --global user.email "[email protected] "
63
+ git config --global user.name "GitHub Actions"
64
+ git submodule update --init --recursive
65
+ working-directory : ./solana
50
66
- name : make lint
51
67
run : make lint
52
68
working-directory : ./solana
56
72
runs-on : ubuntu-latest
57
73
steps :
58
74
- uses : actions/checkout@v4
75
+ with :
76
+ submodules : true
59
77
- uses : metadaoproject/setup-anchor@v2
60
78
with :
61
79
node-version : " 20.11.0"
64
82
- name : Set default Rust toolchain
65
83
run : rustup default stable
66
84
working-directory : ./solana
85
+ - name : Git Submodule Update
86
+ run : |
87
+ git config --global user.email "[email protected] "
88
+ git config --global user.name "GitHub Actions"
89
+ git submodule update --init --recursive
90
+ working-directory : ./solana
67
91
- name : make check-idl
68
92
run : make check-idl
69
93
working-directory : ./solana
73
97
runs-on : ubuntu-latest
74
98
steps :
75
99
- uses : actions/checkout@v4
100
+ with :
101
+ submodules : true
76
102
- name : Install Foundry
77
103
uses : foundry-rs/foundry-toolchain@v1
78
104
with :
@@ -85,6 +111,12 @@ jobs:
85
111
- name : Set default Rust toolchain
86
112
run : rustup default stable
87
113
working-directory : ./solana
114
+ - name : Git Submodule Update
115
+ run : |
116
+ git config --global user.email "[email protected] "
117
+ git config --global user.name "GitHub Actions"
118
+ git submodule update --init --recursive
119
+ working-directory : ./solana
88
120
- name : make anchor-test
89
121
run : make anchor-test
90
122
working-directory : ./solana
0 commit comments