File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,12 @@ jobs:
158
158
with :
159
159
persist-credentials : false
160
160
161
+ # Create a working directory on /mnt, which is a larger temporary
162
+ # filesystem than /, that we can then point our later commands to.
163
+ - run : |
164
+ sudo mkdir ${CARGO_TARGET_DIR}
165
+ sudo chown $(id -u):$(id -g) ${CARGO_TARGET_DIR}
166
+
161
167
- uses : Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
162
168
with :
163
169
# Ensure that we cache from the right target directory. (See below
@@ -169,12 +175,6 @@ jobs:
169
175
- run : sudo systemctl start postgresql.service
170
176
- run : sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'postgres'"
171
177
172
- # Create a working directory on /mnt, which is a larger temporary
173
- # filesystem than /, that we can then point our later commands to.
174
- - run : |
175
- sudo mkdir ${CARGO_TARGET_DIR}
176
- sudo chown $(id -u):$(id -g) ${CARGO_TARGET_DIR}
177
-
178
178
- run : cargo build --tests --workspace
179
179
- run : cargo test --workspace
180
180
You can’t perform that action at this time.
0 commit comments