From a59102779301cb8112141e995dd00cc68cf1e498 Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Mon, 27 May 2024 14:54:59 +0200 Subject: [PATCH] =?UTF-8?q?fixed=20fmt=20=E2=84=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 1 + src/context.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e99d71f..0c19bff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,7 @@ jobs: test: name: "Test" strategy: + fail-fast: true matrix: cmd: - check diff --git a/src/context.rs b/src/context.rs index 90b8ede..3fe9f8f 100644 --- a/src/context.rs +++ b/src/context.rs @@ -90,7 +90,7 @@ pub fn get_context() -> Result { }) } -fn get_env(var_name: &str) -> Result { +fn get_env(var_name: &str) -> Result { match env::var(var_name) { Ok(var) => Ok(var), Err(_) => Err(ActionsError::Context(var_name.to_string())),