Skip to content

Referral program

Referral program #2752

Triggered via pull request April 30, 2024 16:03
Status Failure
Total duration 3m 4s
Artifacts

pr_push_checks_go.yaml

on: pull_request
Setup cache
42s
Setup cache
Matrix: Running Go Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 7 warnings
Go Linter: api/types/billing_metronome.go#L161
exported: exported type PricingUnit should have comment or be unexported (revive)
Go Linter: internal/repository/gorm/referrals.go#L41
exported: comment on exported method ReferralRepository.GetReferralCountByUserID should be of the form "GetReferralCountByUserID ..." (revive)
Go Linter: internal/repository/gorm/repository.go#L297
exported: exported method GormRepository.Referral should have comment or be unexported (revive)
Go Linter
issues found
Setup cache
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: tj-actions/[email protected], actions/cache@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Go Tests (ubuntu-latest, provisioner)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Go Tests (ubuntu-latest, cli)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Go Tests (ubuntu-latest, internal)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go Linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Go Tests (ubuntu-latest, api)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Go Tests (ubuntu-latest, cmd)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.