Skip to content

Commit 50b0c86

Browse files
committed
fix gosec ci installation (#2295)
1 parent 50cc03e commit 50b0c86

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build-x86-image.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ jobs:
5858
5959
- name: Install gosec
6060
run: |
61-
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | \
62-
sed 's#giturl=.*#giturl="https://api.github.com/repos/${owner_repo}/releases/tags/${version}"#' | \
63-
sed 's#tag_name":"#tag_name": *"#' | \
64-
sh -s -- -b $(go env GOPATH)/bin 'v${{ env.GOSEC_VERSION }}'
61+
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin 'v${{ env.GOSEC_VERSION }}'
6562
6663
- name: Build
6764
run: |

0 commit comments

Comments
 (0)