From d086898e6d552526a48308a4434c40cfb6972d96 Mon Sep 17 00:00:00 2001 From: Tien Nguyen Date: Fri, 18 Oct 2024 17:00:40 -0400 Subject: [PATCH] add go build Signed-off-by: Tien Nguyen --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c563fed..df7cbfa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,11 @@ jobs: sudo apt-get update sudo apt-get install -y python3 python3-pip sudo pip install --upgrade pip + - run: + name: Install Go + command: | + sudo apt update + sudo apt install golang-go=1.21 - run: name: Download Reverse Labs Scanner command: | @@ -33,6 +38,9 @@ jobs: region: us-east-1 - run: >- eval "$(aws configure export-credentials --profile default --format env)" 2> /dev/null + - run: + name: Build binary to scan + command: go build cmd/okta-aws-cli/main.go - run: name: Run Reversing Labs Wrapper Scanner command: |