github.com/stefanmcshane/helm@v0.0.0-20221213002717-88a4a2c6e77d/.circleci/config.yml (about)

     1  ---
     2  version: 2
     3  
     4  jobs:
     5    build:
     6      working_directory: ~/helm.sh/helm
     7      docker:
     8        - image: cimg/go:1.18
     9        
    10          auth:
    11            username: $DOCKER_USER
    12            password: $DOCKER_PASS
    13  
    14      environment:
    15        GOCACHE: "/tmp/go/cache"
    16        GOLANGCI_LINT_VERSION: "1.46.2"
    17  
    18      steps:
    19        - checkout
    20        - run:
    21            name: install test dependencies
    22            command: .circleci/bootstrap.sh
    23        - run:
    24            name: test style
    25            command: make test-style
    26        - run:
    27            name: test
    28            command: make test-coverage
    29        - run:
    30            name: test build
    31            command: make
    32        - deploy:
    33            name: deploy
    34            command: .circleci/deploy.sh
    35  
    36  workflows:
    37    version: 2
    38    build:
    39      jobs:
    40        - build:
    41            filters:
    42              tags:
    43                only: /.*/