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

Upgrade dependencies #223

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Upgrade dependencies #223

merged 2 commits into from
Mar 6, 2024

Conversation

Danielius1922
Copy link
Member

@Danielius1922 Danielius1922 commented Mar 6, 2024

Summary by CodeRabbit

  • Chores
    • Updated dependencies and actions for better performance and compatibility.
    • Improved CI/CD workflows for building and testing.
    • Enhanced code linting settings for more robust code quality checks.

actions/upload-artifact: v3 -> v4
golangci/golangci-lint-action: v3 -> v4
goreleaser/goreleaser-action: v4 -> v5
Submodule:
github.com/googleapis/googleapis 5ad98f728d43bbf78a878cb3e9ff9e355138b956

Direct:
cloud.google.com/go v0.112.1
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/goreleaser/goreleaser v1.20.0
github.com/jellydator/ttlcache/v3 v3.2.0
github.com/pion/dtls/v2 v2.2.8-0.20240201071732-2597464081c8
github.com/plgd-dev/device/v2 v2.3.2-0.20240305073234-ee311673e17c
github.com/plgd-dev/go-coap/v3 v3.3.4-0.20240303135359-ce5dcc5ef1ba
github.com/plgd-dev/hub/v2 v2.16.5-0.20240305104257-c66a897a69fa
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/otel/trace v1.24.0
go.uber.org/zap v1.27.0
google.golang.org/api v0.168.0
google.golang.org/grpc v1.62.1
google.golang.org/protobuf v1.33.0

Indirect:

cloud.google.com/go/compute v1.25.0
cloud.google.com/go/iam v1.1.6
cloud.google.com/go/kms v1.15.7
cloud.google.com/go/storage v1.38.0
code.gitea.io/sdk/gitea v0.15.1
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0
github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.1.0
github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0
github.com/ProtonMail/go-crypto v0.0.0-20230626094100-7e9e0395ebec
github.com/aws/aws-sdk-go v1.44.314
github.com/aws/aws-sdk-go-v2 v1.20.0
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.11
github.com/aws/aws-sdk-go-v2/config v1.18.32
github.com/aws/aws-sdk-go-v2/credentials v1.13.31
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.7
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.76
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.37
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.31
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.38
github.com/aws/aws-sdk-go-v2/internal/v4a v1.1.0
github.com/aws/aws-sdk-go-v2/service/ecr v1.17.5
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.13.5
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.12
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.32
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.31
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.15.0
github.com/aws/aws-sdk-go-v2/service/kms v1.24.1
github.com/aws/aws-sdk-go-v2/service/s3 v1.38.1
github.com/aws/aws-sdk-go-v2/service/sso v1.13.1
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.15.1
github.com/aws/aws-sdk-go-v2/service/sts v1.21.1
github.com/aws/smithy-go v1.14.0
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220517224237-e6f29200ae04
github.com/bufbuild/protocompile v0.8.0
github.com/caarlos0/log v0.4.2
github.com/charmbracelet/lipgloss v0.7.1
github.com/chrismellard/docker-credential-acr-env v0.0.0-20220327082430-c57b701bfc08
github.com/cloudflare/circl v1.3.3
github.com/cpuguy83/go-md2man/v2 v2.0.2
github.com/davecgh/go-spew v1.1.1
github.com/disgoorg/disgo v0.16.8
github.com/disgoorg/log v1.2.1
github.com/docker/cli v24.0.0+incompatible
github.com/docker/distribution v2.8.2+incompatible
github.com/docker/docker v24.0.2+incompatible
github.com/docker/docker-credential-helpers v0.7.0
github.com/fxamacker/cbor/v2 v2.6.0
github.com/go-co-op/gocron/v2 v2.2.4
github.com/go-openapi/errors v0.20.3
github.com/go-openapi/jsonpointer v0.19.6
github.com/go-openapi/swag v0.22.3
github.com/golang/protobuf v1.5.4
github.com/google/go-containerregistry v0.16.1
github.com/google/go-github/v53 v53.2.0
github.com/google/ko v0.14.1
github.com/googleapis/gax-go/v2 v2.12.2
github.com/goreleaser/nfpm/v2 v2.32.0
github.com/hashicorp/go-retryablehttp v0.7.2
github.com/hashicorp/hcl v1.0.0
github.com/iancoleman/orderedmap v0.2.0
github.com/invopop/jsonschema v0.7.0
github.com/jhump/protoreflect v1.15.6
github.com/jonboulle/clockwork v0.4.0
github.com/klauspost/compress v1.17.7
github.com/lestrrat-go/jwx/v2 v2.0.20
github.com/letsencrypt/boulder v0.0.0-20221109233200-85aa52084eaf
github.com/mattn/go-runewidth v0.0.14
github.com/nats-io/nats.go v1.33.1
github.com/opencontainers/image-spec v1.1.0-rc3
github.com/pelletier/go-toml/v2 v2.0.8
github.com/pmezard/go-difflib v1.0.0
github.com/sigstore/cosign/v2 v2.0.3-0.20230523133326-0544abd8fc8a
github.com/sigstore/rekor v1.2.0
github.com/sigstore/sigstore v1.6.4
github.com/slack-go/slack v0.12.2
github.com/spf13/afero v1.9.5
github.com/spf13/cobra v1.7.0
github.com/spf13/jwalterweatherman v1.1.0
github.com/spf13/viper v1.16.0
github.com/subosito/gotenv v1.4.2
github.com/theupdateframework/go-tuf v0.5.2
github.com/tidwall/gjson v1.17.1
github.com/vbatts/tar-split v0.11.3
github.com/xanzy/go-gitlab v0.90.0
go.mongodb.org/mongo-driver v1.14.0
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo v0.49.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0
go.opentelemetry.io/otel v1.24.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/sdk v1.24.0
gocloud.dev v0.33.0
golang.org/x/crypto v0.21.0
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225
golang.org/x/mod v0.15.0
golang.org/x/net v0.22.0
golang.org/x/oauth2 v0.18.0
golang.org/x/sys v0.18.0
golang.org/x/term v0.18.0
golang.org/x/tools v0.18.0
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9
google.golang.org/genproto/googleapis/api v0.0.0-20240304212257-790db918fca8
google.golang.org/genproto/googleapis/rpc v0.0.0-20240304212257-790db918fca8
gopkg.in/square/go-jose.v2 v2.6.0
gopkg.in/yaml.v2 v2.4.0
sigs.k8s.io/yaml v1.3.0
Copy link

coderabbitai bot commented Mar 6, 2024

Walkthrough

This summary outlines updates to GitHub Actions and dependency configurations across several workflows and project files. Notably, it includes version upgrades for GitHub Actions like goreleaser/goreleaser-action and golangci/golangci-lint-action, tweaks to workflow arguments, and the addition of a configuration for gomoddirectives. Also, it details an update to the commit hash for the googleapis subproject.

Changes

File Path Change Summary
.github/workflows/buildTestBinaries.yml Updated goreleaser-action to v5; Modified arguments for Build client
.github/workflows/golangci-lint.yml Updated golangci-lint-action to v4; Added --timeout=5m arg
.golangci.yml Added gomoddirectives config for github.com/pion/dtls/v2
dependency/googleapis Updated subproject commit hash
web/playwright/.github/workflows/playwright.yml Updated upload-artifact to v4

Related issues

  • plgd-dev/device-provisioning-service#217: The updates to GitHub Actions and dependencies may align with the objectives of updating various dependencies and GitHub Actions versions.
  • Dependency Dashboard #6: The updates to GitHub Actions versions and the addition of specific configurations might address some of the dependency and GitHub Actions updates outlined.

🐰✨
Changes abound, in files and lines,
Where versions leap, and code aligns.
Through workflows, lints, and directives new,
A rabbit hops, leaving tracks so true.
🌟📦🔧

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 5d3732f and 3610091.
Files ignored due to path filters (2)
  • go.mod is excluded by: !**/*.mod
  • go.sum is excluded by: !**/*.sum
Files selected for processing (5)
  • .github/workflows/buildTestBinaries.yml (1 hunks)
  • .github/workflows/golangci-lint.yml (1 hunks)
  • .golangci.yml (1 hunks)
  • dependency/googleapis (1 hunks)
  • web/playwright/.github/workflows/playwright.yml (1 hunks)
Files skipped from review due to trivial changes (1)
  • dependency/googleapis
Additional comments: 5
web/playwright/.github/workflows/playwright.yml (1)
  • 22-22: The update of actions/upload-artifact from v3 to v4 is correctly applied and follows best practices for keeping dependencies up-to-date. Ensure that this version change is tested to confirm compatibility with the rest of the workflow.
.github/workflows/golangci-lint.yml (1)
  • 30-30: The update of golangci/golangci-lint-action from v3 to v4 and the addition of args: --timeout=5m are correctly applied. These changes are expected to enhance the linting process's efficiency. It's important to verify that the new timeout setting aligns with the project's requirements and does not inadvertently cut off necessary linting operations.
.github/workflows/buildTestBinaries.yml (2)
  • 44-44: The update of goreleaser/goreleaser-action to v5 is correctly applied. This version update is crucial for leveraging the latest features and improvements of goreleaser.
  • 48-48: The modification of arguments to release --clean --skip=validate --skip=publish aligns with the objective to optimize the build process. However, ensure that skipping validation and publishing steps is intentional and does not impact the project's release or distribution process.
.golangci.yml (1)
  • 8-10: The addition of gomoddirectives configuration with github.com/pion/dtls/v2 in the replace-allow-list is correctly applied. This configuration ensures that the specified dependency is correctly handled during the linting process, which can improve the project's code quality and maintainability. It's important to verify that this inclusion aligns with the project's dependency management strategy.

Copy link

sonarqubecloud bot commented Mar 6, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Danielius1922 Danielius1922 requested a review from jkralik March 6, 2024 15:25
@Danielius1922 Danielius1922 merged commit 0870d2c into main Mar 6, 2024
9 of 10 checks passed
@Danielius1922 Danielius1922 deleted the adam/feature/update-deps branch March 6, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant