Skip to content

Commit

Permalink
remove download-cli script, use go install instead
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-crist committed Aug 26, 2024
1 parent 6c02b36 commit ddc4d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 124 deletions.
7 changes: 2 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
version:
description: "The exact version tag of the go-coverage-report tool to use."
required: true
default: "v1.0.1"
default: "main"

sha256sum:
description: "Optional SHA256 checksum of the tarball when downloading the go-coverage-report binary."
Expand Down Expand Up @@ -57,10 +57,7 @@ runs:
- name: Download go-coverage-report
shell: bash
id: download
run: $GITHUB_ACTION_PATH/scripts/download-cli-tool.sh "${{ inputs.version }}" "${{ inputs.sha256sum }}"
env:
RUNNER_OS: ${{ runner.os }}
RUNNER_ARCH: ${{ runner.arch }}
run: go install -v "github.com/Striveworks/go-coverage-report@${{ inputs.version }}"

- name: Determine changed files
id: changed-files
Expand Down
119 changes: 0 additions & 119 deletions scripts/download-cli-tool.sh

This file was deleted.

0 comments on commit ddc4d44

Please sign in to comment.