Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Bump codecov/codecov-action from 4 to 5 #85

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 15, 2024

Bumps codecov/codecov-action from 4 to 5.

Release notes

Sourced from codecov/codecov-action's releases.

v5.0.0

v5 Release

v5 of the Codecov GitHub Action will use the Codecov Wrapper to encapsulate the CLI. This will help ensure that the Action gets updates quicker.

Migration Guide

The v5 release also coincides with the opt-out feature for tokens for public repositories. In the Global Upload Token section of the settings page of an organization in codecov.io, you can set the ability for Codecov to receive a coverage reports from any source. This will allow contributors or other members of a repository to upload without needing access to the Codecov token. For more details see how to upload without a token.

[!WARNING]
The following arguments have been changed

  • file (this has been deprecated in favor of files)
  • plugin (this has been deprecated in favor of plugins)

The following arguments have been added:

  • binary
  • gcov_args
  • gcov_executable
  • gcov_ignore
  • gcov_include
  • report_type
  • skip_validation
  • swift_project

You can see their usage in the action.yml file.

What's Changed

... (truncated)

Changelog

Sourced from codecov/codecov-action's changelog.

4.0.0-beta.2

Fixes

  • #1085 not adding -n if empty to do-upload command

4.0.0-beta.1

v4 represents a move from the universal uploader to the Codecov CLI. Although this will unlock new features for our users, the CLI is not yet at feature parity with the universal uploader.

Breaking Changes

  • No current support for aarch64 and alpine architectures.
  • Tokenless uploading is unsuported
  • Various arguments to the Action have been removed

3.1.4

Fixes

  • #967 Fix typo in README.md
  • #971 fix: add back in working dir
  • #969 fix: CLI option names for uploader

Dependencies

  • #970 build(deps-dev): bump @​types/node from 18.15.12 to 18.16.3
  • #979 build(deps-dev): bump @​types/node from 20.1.0 to 20.1.2
  • #981 build(deps-dev): bump @​types/node from 20.1.2 to 20.1.4

3.1.3

Fixes

  • #960 fix: allow for aarch64 build

Dependencies

  • #957 build(deps-dev): bump jest-junit from 15.0.0 to 16.0.0
  • #958 build(deps): bump openpgp from 5.7.0 to 5.8.0
  • #959 build(deps-dev): bump @​types/node from 18.15.10 to 18.15.12

3.1.2

Fixes

  • #718 Update README.md
  • #851 Remove unsupported path_to_write_report argument
  • #898 codeql-analysis.yml
  • #901 Update README to contain correct information - inputs and negate feature
  • #955 fix: add in all the extra arguments for uploader

Dependencies

  • #819 build(deps): bump openpgp from 5.4.0 to 5.5.0
  • #835 build(deps): bump node-fetch from 3.2.4 to 3.2.10
  • #840 build(deps): bump ossf/scorecard-action from 1.1.1 to 2.0.4
  • #841 build(deps): bump @​actions/core from 1.9.1 to 1.10.0
  • #843 build(deps): bump @​actions/github from 5.0.3 to 5.1.1
  • #869 build(deps): bump node-fetch from 3.2.10 to 3.3.0
  • #872 build(deps-dev): bump jest-junit from 13.2.0 to 15.0.0
  • #879 build(deps): bump decode-uri-component from 0.2.0 to 0.2.2

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from nfx as a code owner November 15, 2024 09:08
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Nov 15, 2024
Copy link
Collaborator

@nfx nfx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nfx nfx merged commit 52d074f into main Nov 15, 2024
5 of 7 checks passed
@nfx nfx deleted the dependabot/github_actions/codecov/codecov-action-5 branch November 15, 2024 12:07
nfx added a commit that referenced this pull request Nov 15, 2024
* Added `make_run_as` fixture ([#82](#82)). A new pytest fixture, `make_run_as`, has been added to create an account service principal via the `acc` fixture and assign it to a workspace with default permissions, which is removed after the test is complete. The fixture creates a service principal with a random display name and assigns it to the workspace. Users can optionally assign the service principal to account groups for specific actions using the `account_groups` argument. The returned object contains properties for the workspace client, SQL backend, and SQL execution functions, as well as the display name and application ID of the ephemeral service principal. If desired, the `ws` fixture can be overridden to make all workspace fixtures provided by the plugin run as the ephemeral service principal, allowing for testing with lower privilege ephemeral service principals and improving security and isolation. This feature is not currently supported with Databricks Metadata Service authentication on Azure Databricks.
* Bump codecov/codecov-action from 4 to 5 ([#85](#85)). In this release, the Codecov GitHub Action has been updated from version 4 to 5, introducing several new features and changes. The new version uses the Codecov Wrapper to encapsulate the CLI, allowing for quicker updates to the Action. Additionally, version 5 includes an opt-out feature for tokens in public repositories, enabling contributors and other members to upload coverage reports without requiring access to the Codecov token. This can be accomplished by setting the ability for Codecov to receive a coverage report from any source in the Global Upload Token section of the settings page on codecov.io. Furthermore, the updated version introduces several new arguments, including `binary`, `gcov_args`, `gcov_executable`, `gcov_ignore`, `gcov_include`, `report_type`, and `skip_validation`, and changes the `file` and `plugin` arguments to `files` and `plugins`, respectively.
* Bump databrickslabs/sandbox from acceptance/v0.3.1 to 0.4.2 ([#80](#80)). In this release, the `databrickslabs/sandbox` dependency has been updated from version `acceptance/v0.3.1` to `0.4.2`. This update includes the addition of install instructions, more go-git libraries, and modifications to the README to explain how to use the library with the `databricks labs sandbox` command. Dependency updates include golang.org/x/crypto from version 0.16.0 to 0.17.0. The `Run nightly tests` job in the workflow has also been updated to use the new version of the `databrickslabs/sandbox/acceptance` image. The commit history for this release shows several commits, including the creation of "[TODO] XXX" issues and a full diff comparison. The pull request includes instructions for triggering Dependabot actions through comments. Reviewers are encouraged to thoroughly examine the changelog and commit history for more detailed information on the changes in this release.
* Force keyword argument in `make_query` fixture ([#81](#81)). In the latest update, the `make_query` fixture in the `redash.py` file has undergone changes to enhance code readability and maintainability. The `sql_query` parameter is now required to be passed as a keyword argument, preventing the possibility of it being mistakenly passed as a positional argument. Furthermore, the `create` function's signature has been revised to include an explicit \* before the `sql_query` parameter. It is important to note that these changes have not affected the functionality of the method, but have instead altered the parameter passing style for improved clarity. This minor update is intended to elevate the overall quality of the codebase and promote best practices.
* Renamed internal `notebooks` module to `workspace` ([#86](#86)). In this release, the internal `notebooks` module has been renamed to `workspace` to better reflect its current functionality of managing and interacting with notebooks and other resources in a Databricks workspace. This renaming applies to the import statements in `plugin.py` and `test_notebooks.py`, which has been renamed to `test_workspace.py`. Additionally, import statements for making cluster policy and instance pool permissions have been added. The functionality of the imported functions, such as `make_directory`, `make_workspace_file`, `make_notebook`, and `make_repo`, remains unchanged. This change is part of the fix for issue [#59](#59) and aims to improve the clarity and consistency of the codebase. Software engineers adopting this project should update any imports or references to the `notebooks` module to use the new `workspace` module instead.

Dependency updates:

 * Bump databrickslabs/sandbox from acceptance/v0.3.1 to 0.4.2 ([#80](#80)).
 * Bump codecov/codecov-action from 4 to 5 ([#85](#85)).
@nfx nfx mentioned this pull request Nov 15, 2024
nfx added a commit that referenced this pull request Nov 15, 2024
* Added `make_run_as` fixture
([#82](#82)). A new
pytest fixture, `make_run_as`, has been added to create an account
service principal via the `acc` fixture and assign it to a workspace
with default permissions, which is removed after the test is complete.
The fixture creates a service principal with a random display name and
assigns it to the workspace. Users can optionally assign the service
principal to account groups for specific actions using the
`account_groups` argument. The returned object contains properties for
the workspace client, SQL backend, and SQL execution functions, as well
as the display name and application ID of the ephemeral service
principal. If desired, the `ws` fixture can be overridden to make all
workspace fixtures provided by the plugin run as the ephemeral service
principal, allowing for testing with lower privilege ephemeral service
principals and improving security and isolation. This feature is not
currently supported with Databricks Metadata Service authentication on
Azure Databricks.
* Bump codecov/codecov-action from 4 to 5
([#85](#85)). In this
release, the Codecov GitHub Action has been updated from version 4 to 5,
introducing several new features and changes. The new version uses the
Codecov Wrapper to encapsulate the CLI, allowing for quicker updates to
the Action. Additionally, version 5 includes an opt-out feature for
tokens in public repositories, enabling contributors and other members
to upload coverage reports without requiring access to the Codecov
token. This can be accomplished by setting the ability for Codecov to
receive a coverage report from any source in the Global Upload Token
section of the settings page on codecov.io. Furthermore, the updated
version introduces several new arguments, including `binary`,
`gcov_args`, `gcov_executable`, `gcov_ignore`, `gcov_include`,
`report_type`, and `skip_validation`, and changes the `file` and
`plugin` arguments to `files` and `plugins`, respectively.
* Bump databrickslabs/sandbox from acceptance/v0.3.1 to 0.4.2
([#80](#80)). In this
release, the `databrickslabs/sandbox` dependency has been updated from
version `acceptance/v0.3.1` to `0.4.2`. This update includes the
addition of install instructions, more go-git libraries, and
modifications to the README to explain how to use the library with the
`databricks labs sandbox` command. Dependency updates include
golang.org/x/crypto from version 0.16.0 to 0.17.0. The `Run nightly
tests` job in the workflow has also been updated to use the new version
of the `databrickslabs/sandbox/acceptance` image. The commit history for
this release shows several commits, including the creation of "[TODO]
XXX" issues and a full diff comparison. The pull request includes
instructions for triggering Dependabot actions through comments.
Reviewers are encouraged to thoroughly examine the changelog and commit
history for more detailed information on the changes in this release.
* Force keyword argument in `make_query` fixture
([#81](#81)). In the
latest update, the `make_query` fixture in the `redash.py` file has
undergone changes to enhance code readability and maintainability. The
`sql_query` parameter is now required to be passed as a keyword
argument, preventing the possibility of it being mistakenly passed as a
positional argument. Furthermore, the `create` function's signature has
been revised to include an explicit \* before the `sql_query` parameter.
It is important to note that these changes have not affected the
functionality of the method, but have instead altered the parameter
passing style for improved clarity. This minor update is intended to
elevate the overall quality of the codebase and promote best practices.
* Renamed internal `notebooks` module to `workspace`
([#86](#86)). In this
release, the internal `notebooks` module has been renamed to `workspace`
to better reflect its current functionality of managing and interacting
with notebooks and other resources in a Databricks workspace. This
renaming applies to the import statements in `plugin.py` and
`test_notebooks.py`, which has been renamed to `test_workspace.py`.
Additionally, import statements for making cluster policy and instance
pool permissions have been added. The functionality of the imported
functions, such as `make_directory`, `make_workspace_file`,
`make_notebook`, and `make_repo`, remains unchanged. This change is part
of the fix for issue
[#59](#59) and aims to
improve the clarity and consistency of the codebase. Software engineers
adopting this project should update any imports or references to the
`notebooks` module to use the new `workspace` module instead.

Dependency updates:

* Bump databrickslabs/sandbox from acceptance/v0.3.1 to 0.4.2
([#80](#80)).
* Bump codecov/codecov-action from 4 to 5
([#85](#85)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant