From 9b40d46f17fd32964ba41f394ddef112e96cef1e Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 19 Mar 2022 09:15:10 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b926427..054ebb8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,19 @@ +image: rust:1.59-alpine3.15 + +stages: + - test + test: - image: rust:1.59-alpine3.15 + stage: test before_script: - apk --no-cache add musl-dev script: - - cargo test \ No newline at end of file + - cargo test + +audit: + stage: test + before_script: + - apk --no-cache add musl-dev + - cargo install cargo-audit + script: + - cargo audit \ No newline at end of file