Skip to content

Commit 3501572

Browse files
G-Rathcuixq
andauthored
ci: create pr for updating scalibr even if tests fail (#2261)
As running the tests involves compiling Go, it'll error if a change in scalibr causes a compile-time error which is exactly why we're wanting this workflow in the first place so we should be continuing regardless of if the running-of-tests step is successful 😅 Co-authored-by: Xueqin Cui <[email protected]>
1 parent 48b2543 commit 3501572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
go get github.com/google/osv-scalibr@"$latest_commit"
3535
echo "latest_scalibr_commit=$latest_commit" >> "$GITHUB_ENV"
3636
go mod tidy
37-
- run: go test ./cmd/osv-scanner/ -run 'Test_run$'
37+
- run: go test ./cmd/osv-scanner/ -run 'Test_run$' || true
3838
env:
3939
TEST_ACCEPTANCE: true
4040
UPDATE_SNAPS: always

0 commit comments

Comments
 (0)