From bf53de7eab35117b1474e2f6d417f5df605498d4 Mon Sep 17 00:00:00 2001 From: vadimi Date: Fri, 16 Aug 2024 15:48:26 -0400 Subject: [PATCH] remove circleci config --- .circleci/config.yml | 59 -------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 90dd21e..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,59 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: cimg/go:1.23 - environment: - TEST_RESULTS: /tmp/test-results - steps: - - checkout - - run: - name: run tests - command: | - mkdir -p $TEST_RESULTS - gotestsum --junitfile ${TEST_RESULTS}/testresults.xml --format short-verbose --no-summary=skipped ./... - - run: - name: check vulnerabilities - command: | - set -o pipefail - go install golang.org/x/vuln/cmd/govulncheck@latest - govulncheck ./... - - run: - name: build - command: | - curl -sL https://git.io/goreleaser | bash -s -- --skip=publish,validate --clean - find ./dist/ -not -name '*.tar.gz' -not -name '*.zip' -not -name 'dist' -delete - - store_test_results: - path: /tmp/test-results - - store_artifacts: - path: ./dist - - persist_to_workspace: - root: . - paths: - - ./dist - publish-github-release: - docker: - - image: cibuilds/github:0.13 - steps: - - attach_workspace: - at: ./artifacts - - run: - name: "Publish Release on GitHub" - command: | - ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./artifacts/dist/ -workflows: - version: 2 - main: - jobs: - - build: - filters: - tags: - only: /^v\d+\.\d+\.\d+(-.*)?$/ - - publish-github-release: - requires: - - build - filters: - branches: - ignore: /.*/ - tags: - only: /^v\d+\.\d+\.\d+(-.*)?$/