From 2179d40dabbe26942e75f61b09ff78a63e4ea891 Mon Sep 17 00:00:00 2001 From: Matthieu Pignolet Date: Tue, 29 Oct 2024 20:34:24 +0400 Subject: [PATCH] Use the CircleCI orb to test the golang project in a machine Signed-off-by: Matthieu Pignolet --- .circleci/config.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9e33ca1..70409e3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,16 +7,15 @@ orbs: jobs: build: - machine: - image: ubuntu-2204:current + executor: + name: go/default + tag: '<< parameters.go_version >>' parameters: go_version: type: string use_gomod_cache: type: boolean default: true - docker: - - image: cimg/go:<< parameters.go_version >> steps: - checkout - when: