From 29d53b33417198db76f62deae6001d79a6124cde Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Mon, 13 May 2024 09:14:09 +0300 Subject: [PATCH] cleanup --- .github/workflows/ci.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2415cab..51aa425 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,3 @@ -# This workflow will build a golang project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go - name: ci on: @@ -17,18 +14,12 @@ jobs: run: | echo "GIT_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> "$GITHUB_ENV" echo "GIT_BRANCH=${GITHUB_HEAD_REF}" >> "$GITHUB_ENV" - echo "GITHUB_SHA=${GITHUB_SHA}, GITHUB_HEAD_REF=${GITHUB_HEAD_REF}" - echo "GIT_COMMIT_SHA=${GIT_COMMIT_SHA}, GIT_BRANCH=${GIT_BRANCH}" - echo $(git rev-parse HEAD) - echo $(git branch --show-current) - name: Setup Code Climate test-reporter run: | curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > /tmp/cc-test-reporter chmod +x /tmp/cc-test-reporter - /tmp/cc-test-reporter before-build --debug - echo "GITHUB_SHA=${GITHUB_SHA}, GITHUB_HEAD_REF=${GITHUB_HEAD_REF}" - echo "GIT_COMMIT_SHA=${GIT_COMMIT_SHA}, GIT_BRANCH=${GIT_BRANCH}" + /tmp/cc-test-reporter before-build - uses: actions/checkout@v4 @@ -58,10 +49,4 @@ jobs: /tmp/cc-test-reporter after-build \ --id ${{ secrets.CC_TEST_REPORTER_ID }} \ --prefix waku-poker-planning \ - --exit-code $? \ - --debug - echo $(git rev-parse HEAD) - echo $(git branch --show-current) - echo "GITHUB_SHA=${GITHUB_SHA}, GITHUB_HEAD_REF=${GITHUB_HEAD_REF}" - echo "GIT_COMMIT_SHA=${GIT_COMMIT_SHA}, GIT_BRANCH=${GIT_BRANCH}" - + --exit-code $? \ No newline at end of file