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 1 to 4 #85

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 30, 2024

Bumps codecov/codecov-action from 1 to 4.

Release notes

Sourced from codecov/codecov-action's releases.

v4.0.0

v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to power new features including local upload, the global upload token, and new upcoming features.

Breaking Changes

  • The Codecov Action runs as a node20 action due to node16 deprecation. See this post from GitHub on how to migrate.
  • Tokenless uploading is unsupported. However, PRs made from forks to the upstream public repos will support tokenless (e.g. contributors to OS projects do not need the upstream repo's Codecov token). This doc shows instructions on how to add the Codecov token.
  • OS platforms have been added, though some may not be automatically detected. To see a list of platforms, see our CLI download page
  • Various arguments to the Action have been changed. Please be aware that the arguments match with the CLI's needs

v3 versions and below will not have access to CLI features (e.g. global upload token, ATS).

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)

@dependabot dependabot bot requested a review from nfx as a code owner March 30, 2024 15:27
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Mar 30, 2024
@nfx
Copy link
Contributor

nfx commented Mar 31, 2024

@dependabot recreate

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/codecov/codecov-action-4 branch from a75bf6f to 99be732 Compare March 31, 2024 09:46
@nfx nfx merged commit ea62287 into main Mar 31, 2024
10 of 11 checks passed
@nfx nfx deleted the dependabot/github_actions/codecov/codecov-action-4 branch March 31, 2024 09:58
nfx added a commit that referenced this pull request May 8, 2024
* Added content assertion for `assert_file_uploaded` and `assert_file_dbfs_uploaded` in `MockInstallation` ([#101](#101)). The recent commit introduces a content assertion feature to the `MockInstallation` class, enhancing its testing capabilities. This is achieved by adding an optional `expected` parameter of type `bytes` to the `assert_file_uploaded` and `assert_file_dbfs_uploaded` methods, allowing users to verify the uploaded content's correctness. The `_assert_upload` method has also been updated to accept this new parameter, ensuring the actual uploaded content matches the expected content. Furthermore, the commit includes informative docstrings for the new and updated methods, providing clear explanations of their functionality and usage. To support these improvements, new test cases `test_assert_file_uploaded` and `test_load_empty_data_class` have been added to the `tests/unit/test_installation.py` file, enabling more rigorous testing of the `MockInstallation` class and ensuring that the expected content is uploaded correctly.
* Added handling for partial functions in `parallel.Threads` ([#93](#93)). In this release, we have enhanced the `parallel.Threads` module with the ability to handle partial functions, addressing issue [#93](#93). This improvement includes the addition of a new static method, `_get_result_function_signature`, to obtain the signature of a function or a string representation of its arguments and keywords if it is a partial function. The `_wrap_result` class method has also been updated to log an error message with the function's signature if an exception occurs. Furthermore, we have added a new test case, `test_odd_partial_failed`, to the unit tests, ensuring that the `gather` function handles partial functions that raise errors correctly. The Python version required for this project remains at 3.10, and the `pyproject.toml` file has been updated to include "isort", "mypy", "types-PyYAML", and `types-requests` in the list of dependencies. These adjustments are aimed at improving the functionality and type checking in the `parallel.Threads` module.
* Align configurations with UCX project ([#96](#96)). This commit brings project configurations in line with the UCX project through various fixes and updates, enhancing compatibility and streamlining collaboration. It addresses pylint configuration warnings, adjusts GitHub Actions workflows, and refines the `pyproject.toml` file. Additionally, the `NiceFormatter` class in `logger.py` has been improved for better code readability, and the versioning scheme has been updated to ensure SemVer and PEP440 compliance, making it easier to manage and understand the project's versioning. Developers adopting the project will benefit from these alignments, as they promote adherence to the project's standards and up-to-date best practices.
* Check backwards compatibility with UCX, Remorph, and LSQL ([#84](#84)). This release includes an update to the dependabot configuration to check for daily updates in both the pip and github-actions package ecosystems, with a new directory parameter added for the pip ecosystem for more precise update management. Additionally, a new GitHub Actions workflow, "downstreams", has been added to ensure backwards compatibility with UCX, Remorph, and LSQL by running automated downstream checks on pull requests, merge groups, and pushes to the main branch. The workflow has appropriate permissions for writing id-tokens, reading contents, and writing pull-requests, and runs the downstreams action from the databrickslabs/sandbox repository using GITHUB_TOKEN for authentication. These changes improve the security and maintainability of the project by ensuring compatibility with downstream projects and staying up-to-date with the latest package versions, reducing the risk of potential security vulnerabilities and bugs.

Dependency updates:

 * Bump actions/setup-python from 4 to 5 ([#89](#89)).
 * Bump softprops/action-gh-release from 1 to 2 ([#87](#87)).
 * Bump actions/checkout from 2.5.0 to 4.1.2 ([#88](#88)).
 * Bump codecov/codecov-action from 1 to 4 ([#85](#85)).
 * Bump actions/checkout from 4.1.2 to 4.1.3 ([#95](#95)).
 * Bump actions/checkout from 4.1.3 to 4.1.5 ([#100](#100)).
@nfx nfx mentioned this pull request May 8, 2024
nfx added a commit that referenced this pull request May 8, 2024
* Added content assertion for `assert_file_uploaded` and
`assert_file_dbfs_uploaded` in `MockInstallation`
([#101](#101)). The
recent commit introduces a content assertion feature to the
`MockInstallation` class, enhancing its testing capabilities. This is
achieved by adding an optional `expected` parameter of type `bytes` to
the `assert_file_uploaded` and `assert_file_dbfs_uploaded` methods,
allowing users to verify the uploaded content's correctness. The
`_assert_upload` method has also been updated to accept this new
parameter, ensuring the actual uploaded content matches the expected
content. Furthermore, the commit includes informative docstrings for the
new and updated methods, providing clear explanations of their
functionality and usage. To support these improvements, new test cases
`test_assert_file_uploaded` and `test_load_empty_data_class` have been
added to the `tests/unit/test_installation.py` file, enabling more
rigorous testing of the `MockInstallation` class and ensuring that the
expected content is uploaded correctly.
* Added handling for partial functions in `parallel.Threads`
([#93](#93)). In this
release, we have enhanced the `parallel.Threads` module with the ability
to handle partial functions, addressing issue
[#93](#93). This
improvement includes the addition of a new static method,
`_get_result_function_signature`, to obtain the signature of a function
or a string representation of its arguments and keywords if it is a
partial function. The `_wrap_result` class method has also been updated
to log an error message with the function's signature if an exception
occurs. Furthermore, we have added a new test case,
`test_odd_partial_failed`, to the unit tests, ensuring that the `gather`
function handles partial functions that raise errors correctly. The
Python version required for this project remains at 3.10, and the
`pyproject.toml` file has been updated to include "isort", "mypy",
"types-PyYAML", and `types-requests` in the list of dependencies. These
adjustments are aimed at improving the functionality and type checking
in the `parallel.Threads` module.
* Align configurations with UCX project
([#96](#96)). This
commit brings project configurations in line with the UCX project
through various fixes and updates, enhancing compatibility and
streamlining collaboration. It addresses pylint configuration warnings,
adjusts GitHub Actions workflows, and refines the `pyproject.toml` file.
Additionally, the `NiceFormatter` class in `logger.py` has been improved
for better code readability, and the versioning scheme has been updated
to ensure SemVer and PEP440 compliance, making it easier to manage and
understand the project's versioning. Developers adopting the project
will benefit from these alignments, as they promote adherence to the
project's standards and up-to-date best practices.
* Check backwards compatibility with UCX, Remorph, and LSQL
([#84](#84)). This
release includes an update to the dependabot configuration to check for
daily updates in both the pip and github-actions package ecosystems,
with a new directory parameter added for the pip ecosystem for more
precise update management. Additionally, a new GitHub Actions workflow,
"downstreams", has been added to ensure backwards compatibility with
UCX, Remorph, and LSQL by running automated downstream checks on pull
requests, merge groups, and pushes to the main branch. The workflow has
appropriate permissions for writing id-tokens, reading contents, and
writing pull-requests, and runs the downstreams action from the
databrickslabs/sandbox repository using GITHUB_TOKEN for authentication.
These changes improve the security and maintainability of the project by
ensuring compatibility with downstream projects and staying up-to-date
with the latest package versions, reducing the risk of potential
security vulnerabilities and bugs.

Dependency updates:

* Bump actions/setup-python from 4 to 5
([#89](#89)).
* Bump softprops/action-gh-release from 1 to 2
([#87](#87)).
* Bump actions/checkout from 2.5.0 to 4.1.2
([#88](#88)).
* Bump codecov/codecov-action from 1 to 4
([#85](#85)).
* Bump actions/checkout from 4.1.2 to 4.1.3
([#95](#95)).
* Bump actions/checkout from 4.1.3 to 4.1.5
([#100](#100)).
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