From c4e250992f6ab5edbe7e7b5dc04c5b0244c45b3e Mon Sep 17 00:00:00 2001 From: Wade Zhang Date: Sun, 28 Jul 2024 15:49:30 +0800 Subject: [PATCH] Add CircleCI configuration --- .circleci/config.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..e00fe50 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,24 @@ +version: 2.1 + +orbs: + codecov: codecov/codecov@4.1.0 + +jobs: + Mega-Linter: + environment: + DEFAULT_WORKSPACE: /root/project + docker: + - image: oxsecurity/megalinter-go:v7 + # checkov:skip=CKV_CIRCLECIPIPELINES_2:prefer mutable but stable tags + steps: + - checkout + - run: + command: | + sh /entrypoint.sh + - store_artifacts: + path: megalinter-reports + +workflows: + CI: + jobs: + - Mega-Linter