From 89ea97dd6ab9ed3548e0c05ee4ed438184aa9a6e Mon Sep 17 00:00:00 2001 From: Leon Date: Tue, 13 Feb 2024 01:01:35 +0100 Subject: [PATCH] more stupid workarounds An oversight of the original """fix""". Cargo needs to resolve DNS to pull dependencies. --- .drone.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.drone.yml b/.drone.yml index ec31c28..6dfbaf0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,6 +48,9 @@ steps: commands: - rustc --version - cargo --version + # Stupid workarounds, for stupid problems + - echo "nameserver 1.1.1.1" >> /etc/resolv.conf + - echo "nameserver 1.0.0.1" >> /etc/resolv.conf - cargo build --verbose --all - name: test [debug] @@ -55,6 +58,9 @@ steps: commands: - rustc --version - cargo --version + # Stupid workarounds, for stupid problems + - echo "nameserver 1.1.1.1" >> /etc/resolv.conf + - echo "nameserver 1.0.0.1" >> /etc/resolv.conf - cargo test --verbose --all - name: lint-clippy [debug] @@ -107,4 +113,7 @@ steps: commands: - rustc --version - cargo --version + # Stupid workarounds, for stupid problems + - echo "nameserver 1.1.1.1" >> /etc/resolv.conf + - echo "nameserver 1.0.0.1" >> /etc/resolv.conf - cargo test --verbose --all --release \ No newline at end of file -- 2.45.2