Skip to content

feat: store msg types inside message_type table and add messages_by_type function #848

feat: store msg types inside message_type table and add messages_by_type function

feat: store msg types inside message_type table and add messages_by_type function #848

Triggered via pull request January 26, 2024 11:01
Status Failure
Total duration 2m 18s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
golangci-lint: modules/messages/message_handler.go#L72
ifElseChain: rewrite if-else to switch statement (gocritic)
golangci-lint
Process completed with exit code 2.
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, technote-space/get-diff-action@v6.1.2, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint
Unexpected input(s) 'SUFFIX_FILTER', valid inputs are ['GITHUB_TOKEN', 'DOT', 'BASE', 'RELATIVE', 'DIFF_FILTER', 'FORMAT', 'ESCAPE_JSON', 'SEPARATOR', 'PATTERNS', 'MINIMATCH_OPTION_NOBRACE', 'MINIMATCH_OPTION_NOGLOBSTAR', 'MINIMATCH_OPTION_DOT', 'MINIMATCH_OPTION_NOEXT', 'MINIMATCH_OPTION_NOCASE', 'MINIMATCH_OPTION_MATCH_BASE', 'MINIMATCH_OPTION_NONEGATE', 'FILES', 'SUMMARY_INCLUDE_FILES', 'ABSOLUTE', 'SET_ENV_NAME', 'SET_ENV_NAME_FILTERED_DIFF', 'SET_ENV_NAME_MATCHED_FILES', 'SET_ENV_NAME_COUNT', 'SET_ENV_NAME_INSERTIONS', 'SET_ENV_NAME_DELETIONS', 'SET_ENV_NAME_LINES', 'DIFF_DEFAULT', 'FILTERED_DIFF_DEFAULT', 'MATCHED_FILES_DEFAULT', 'COUNT_DEFAULT', 'GET_FILE_DIFF', 'INSERTIONS_DEFAULT', 'DELETIONS_DEFAULT', 'LINES_DEFAULT', 'CHECK_ONLY_COMMIT_WHEN_DRAFT', 'SUPPRESS_ERROR']