Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.

Commit 2c35214

Browse files
authored
ci: Use dev build version for windows runner (#421)
1 parent fd0f2d5 commit 2c35214

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,6 @@ jobs:
8484
- uses: actions/setup-go@v3
8585
with:
8686
go-version: 1.19.x
87-
- name: Grype scan
88-
run: |
89-
bash -c '
90-
echo "##[group]Install grype"
91-
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin
92-
echo "##[endgroup]"
93-
echo "##[group]Scan source ."
94-
grype dir:. --exclude ./hack,./vendor --exclude '**/testdata/**'
95-
'
9687
- name: Install tanzu cli
9788
run: |
9889
$TANZU_VERSION = type .\TANZU_VERSION
@@ -113,12 +104,8 @@ jobs:
113104
tanzu plugin install builder --local $TANZU_HOME/admin-plugins
114105
tanzu plugin install test --local $TANZU_HOME/admin-plugins
115106
tanzu plugin list
116-
117107
- name: Test
118108
run: make test
119-
- name: Build Version
120-
run: echo "BUILD_VERSION=${env:GITHUB_REF/refs\/tags\//}" >> $env:GITHUB_ENV
121-
if: startsWith(github.ref, 'refs/tags/')
122109
- name: Build
123110
run: |
124111
$Env:PATH += ";C:\Program Files\tanzu"
@@ -146,14 +133,6 @@ jobs:
146133
- uses: actions/setup-go@v3
147134
with:
148135
go-version: 1.19.x
149-
- name: Grype scan
150-
run: |
151-
echo "##[group]Install grype"
152-
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin
153-
echo "##[endgroup]"
154-
echo "##[group]Scan source ."
155-
grype dir:. --exclude ./hack,./vendor --exclude '**/testdata/**'
156-
157136
- name: Install tanzu cli
158137
run: |
159138
TANZU_VERSION=$(cat TANZU_VERSION)

0 commit comments

Comments
 (0)