Skip to content

Commit

Permalink
make sure this fails
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Aug 30, 2024
1 parent 2c3896e commit 3ff14f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-import.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ jobs:

- name: Run test Go program that imports Zarf
run: |
# 9f442cea1f989c62b0ec29ed6d8aded0f747f94e
cd ..
mkdir test-import
cd test-import
echo "$GO_MAIN" > main.go
go mod init github.com/zarf-dev/test-import
go get github.com/${{ github.event.pull_request.head.repo.full_name }}@${{ github.event.pull_request.head.sha }}
# go get github.com/${{ github.event.pull_request.head.repo.full_name }}@${{ github.event.pull_request.head.sha }}
go get github.com/${{ github.event.pull_request.head.repo.full_name }}@9f442cea1f989c62b0ec29ed6d8aded0f747f94e
go mod tidy
cat go.mod
cat go.mod | grep -q ${COMMIT_SHA:0:12}
go run main.go
env:
Expand Down

0 comments on commit 3ff14f4

Please sign in to comment.