From e8a7a118e864daa1c9fc1a604b5e006f1d9415f5 Mon Sep 17 00:00:00 2001 From: Filip Cirtog Date: Thu, 15 Aug 2024 17:26:59 +0100 Subject: [PATCH] Delete .github/workflows/lint.yaml --- .github/workflows/lint.yaml | 40 ------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml deleted file mode 100644 index ed55c38481..0000000000 --- a/.github/workflows/lint.yaml +++ /dev/null @@ -1,40 +0,0 @@ -# Check for every push -name: Lint - -on: - workflow_call: - -jobs: - lint: - name: lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: ${{github.event.pull_request.head.sha}} - - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version-file: "${{ github.workspace }}/go.mod" - cache: false - - name: Install GitHub CLI - run: sudo apt-get install gh -y - - name: Get Draft Release URL - id: get_draft_release_tag - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - DRAFT_RELEASE_TAG=$(gh release list --limit 1 --repo "${{ github.repository }}" --json name --jq '.[0].name') - echo "DRAFT_RELEASE_TAG=$DRAFT_RELEASE_TAG" >> $GITHUB_ENV - - name: Echo the Draft Release TAG - run: echo ${{ env.DRAFT_RELEASE_TAG }} - - name: Get Draft Release URL - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - RELEASE_URL=$(gh release view ${{ env.DRAFT_RELEASE_TAG }} --repo "${{ github.repository }}" --json url --jq '.url') - echo "RELEASE_URL=$RELEASE_URL" >> $GITHUB_ENV - - name: Echo the Draft Release URL - run: echo ${{ env.RELEASE_URL }} -