Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: add and document target for updating unit snapshots #3498

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

willmurphyscode
Copy link
Contributor

Description

Add task target for updating golden files (output snapshots) used by unit tests.

Type of change

  • Chore (improve the developer experience, fix a test flake, etc, without changing the visible behavior of Syft)

Checklist:

  • I have added unit tests that cover changed behavior
  • I have tested my code in common scenarios and confirmed there are no regressions
  • I have added comments to my code, particularly in hard-to-understand sections

Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
@willmurphyscode willmurphyscode added the changelog-ignore Don't include this issue in the release changelog label Dec 4, 2024
Taskfile.yaml Outdated Show resolved Hide resolved
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
@willmurphyscode willmurphyscode self-assigned this Dec 4, 2024
@willmurphyscode willmurphyscode enabled auto-merge (squash) December 4, 2024 20:17
@willmurphyscode willmurphyscode merged commit 25e5d55 into main Dec 4, 2024
12 checks passed
@willmurphyscode willmurphyscode deleted the chore-update-golden-file-devex branch December 4, 2024 20:21
spiffcs added a commit that referenced this pull request Dec 9, 2024
…syft into spdx-absolute-path-file

* 'spdx-absolute-path-file' of https://github.com/anchore/syft:
  chore(deps): update CPE dictionary index (#3507)
  chore(deps): update tools to latest versions (#3506)
  chore(deps): bump github.com/magiconair/properties from 1.8.7 to 1.8.9 (#3508)
  chore(deps): bump actions/cache from 4.1.2 to 4.2.0 (#3503)
  Add relationships for rust audit binary packages (#3500)
  fix order of rust dependencies and support git sources in Cargo.lock dependencies (#3502)
  chore(deps): update tools to latest versions (#3501)
  chore(deps): bump golang.org/x/net from 0.31.0 to 0.32.0 (#3499)
  chore: add and document target for updating unit snapshots (#3498)
  fix: emit NOASSERTION for copyright text to fix SPDX 2.2 validation failure (#3495)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
changelog-ignore Don't include this issue in the release changelog
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants