diff --git a/.github/actions/generate-icons/action.yml b/.github/actions/generate-icons/action.yml index cbee944..cbc40a9 100644 --- a/.github/actions/generate-icons/action.yml +++ b/.github/actions/generate-icons/action.yml @@ -19,7 +19,7 @@ runs: export GOPATH go get github.com/cratonica/2goarray go install github.com/cratonica/2goarray - bash generate-icons.sh + ./generate-icons.sh - uses: actions/upload-artifact@v4 if: ${{ inputs.upload_artifact == 'true' }} with: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index cdd9abf..cc14846 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -22,6 +22,9 @@ jobs: fetch-depth: 0 - uses: ./.github/actions/generate-icons + with: + upload_artifact: false + - name: Super-linter uses: super-linter/super-linter@v6.5.1 env: diff --git a/generate-icons.sh b/generate-icons.sh old mode 100644 new mode 100755 diff --git a/ping.go b/ping.go index 71a4f69..13a963f 100644 --- a/ping.go +++ b/ping.go @@ -1,8 +1,9 @@ package main import ( - probing "github.com/prometheus-community/pro-bing" "runtime" + + probing "github.com/prometheus-community/pro-bing" ) var pinger *probing.Pinger