Skip to content

Commit

Permalink
CircleCI Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jtblin authored and Jerome Touffe-Blin committed Nov 24, 2023
1 parent d2731a2 commit c801194
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/configuration-reference
version: 2.1

orbs:
go: circleci/[email protected]

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/configuration-reference/#jobs
jobs:
build-and-test:
executor:
name: go/default # Use the default executor from the orb
tag: '1.19.2' # Specify a version tag
# Add steps to the job
# See: https://circleci.com/docs/configuration-reference/#steps
steps:
- checkout
- go/load-cache # Load cached Go modules.
- go/mod-download # Run 'go mod download'.
- go/save-cache # Save Go modules to cache.
- run:
name: "before install"
command: go get -v github.com/mattn/goveralls
- run:
name: "setup"
command: make setup
- run:
name: "build and test"
command: make build test-race check bench-race coveralls

# Orchestrate jobs using workflows
# See: https://circleci.com/docs/configuration-reference/#workflows
workflows:
kube2iam-workflow:
jobs:
- build-and-test

0 comments on commit c801194

Please sign in to comment.