Skip to content

Commit

Permalink
Use the CircleCI orb to test the golang project in a machine
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Pignolet <matthieu@matthieu-dev.xyz>
  • Loading branch information
MatthieuCoder committed Oct 29, 2024
1 parent f1f5ef6 commit 2179d40
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2179d40

Please sign in to comment.