Skip to content

Backend refactor [WIP] #188

Backend refactor [WIP]

Backend refactor [WIP] #188

Triggered via pull request November 19, 2024 23:50
Status Failure
Total duration 41s
Artifacts

main.yml

on: pull_request
file_existence
3s
file_existence
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 17 warnings
test (21.x)
Process completed with exit code 1.
lint (21.x): client/app/contexts/NearbyUserContext.tsx#L7
React Hook "useContext" is called in function "userNearbyUsers" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint (21.x): client/app/navigation/AppNavigator.tsx#L7
Unable to resolve path to module '../contexts/UserContext'
lint (21.x)
Process completed with exit code 1.
file_existence
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
file_existence
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (21.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, jsdaniell/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, jsdaniell/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (21.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (21.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (21.x): client/app/components/auth/AuthButtons.tsx#L1
'useFonts' is defined but never used
lint (21.x): client/app/components/auth/AuthButtons.tsx#L2
'useState' is defined but never used
lint (21.x): client/app/components/auth/AuthButtons.tsx#L5
'Text' is defined but never used
lint (21.x): client/app/components/auth/AuthButtons.tsx#L8
'Alert' is defined but never used
lint (21.x): client/app/components/chat/ChatScreenFooter.tsx#L8
'TouchableOpacity' is defined but never used
lint (21.x): client/app/components/chat/ChatScreenFooter.tsx#L10
'Smile' is defined but never used
lint (21.x): client/app/components/chat/ChatScreenFooter.tsx#L10
'Image' is defined but never used
lint (21.x): client/app/components/chat/NearbyHeader.tsx#L10
'ChevronLeft' is defined but never used
lint (21.x): client/app/contexts/LocationContext.tsx#L60
React Hook useEffect has missing dependencies: 'location.lat' and 'location.lon'. Either include them or remove the dependency array
lint (21.x): client/app/contexts/NearbyUserContext.tsx#L11
'setNearbyUsers' is assigned a value but never used