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

CI: Elixir Lint spell checking with typos produce warnings and errors #3807

Closed
JakobLichterfeld opened this issue Apr 2, 2024 · 1 comment · Fixed by #3808
Closed

CI: Elixir Lint spell checking with typos produce warnings and errors #3807

JakobLichterfeld opened this issue Apr 2, 2024 · 1 comment · Fixed by #3808
Labels
github_actions Pull requests that update Github_actions code

Comments

@JakobLichterfeld
Copy link
Collaborator

JakobLichterfeld commented Apr 2, 2024

see https://github.com/teslamate-org/teslamate/actions/runs/8519830776/job/23334684381

Run crate-ci/typos@master
Run $GITHUB_ACTION_PATH/action/entrypoint.sh
Downloading 'typos' v1.20.1
--2024-04-02 0[8](https://github.com/teslamate-org/teslamate/actions/runs/8519830776/job/23334684381#step:11:9):34:56--  https://github.com/crate-ci/typos/releases/download/v1.20.1/typos-v1.20.1-x86_64-unknown-linux-musl.tar.gz
Resolving github.com (github.com)... 140.82.114.4
Connecting to github.com (github.com)|140.82.114.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/181782286/5337f02b-e9c8-41ad-bb4f-1449673697b5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240402%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240402T083456Z&X-Amz-Expires=300&X-Amz-Signature=87d153962658bfb8fdb68efc0106e6e55cc760c1f07553be1e120266e7adcc83&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=181782286&response-content-disposition=attachment%3B%20filename%3Dtypos-v1.20.1-x86_64-unknown-linux-musl.tar.gz&response-content-type=application%2Foctet-stream [following]
--2024-04-02 08:34:56--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/181782286/5337f02b-e9c8-41ad-bb4f-1449673697b5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240402%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240402T083456Z&X-Amz-Expires=300&X-Amz-Signature=87d153962658bfb8fdb68efc0106e6e55cc760c1f07553be1e120266e7adcc83&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=181782286&response-content-disposition=attachment%3B%20filename%3Dtypos-v1.20.1-x86_64-unknown-linux-musl.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6409948 (6.1M) [application/octet-stream]
Saving to: ‘typos-v1.20.1-x86_64-unknown-linux-musl.tar.gz’

     0K ........ ........ ........ ........ ........ ........ 49% 80.0M 0s
  3072K ........ ........ ........ ........ ........ ........ 98%  [21](https://github.com/teslamate-org/teslamate/actions/runs/8519830776/job/23334684381#step:11:23)6M 0s
  6144K .                                                    100%  508M=0.05s

2024-04-02 08:34:56 (118 MB/s) - ‘typos-v1.20.1-x86_64-unknown-linux-musl.tar.gz’ saved [6409948/6409948]

./typos
jq: jq-1.6
$ ./typos .
Warning: "bck" should be "back".
Warning: "bck" should be "back".
Warning: "bck" should be "back".
Warning: "bck" should be "back".
Warning: "Automations" should be "Automation".
Warning: "automations" should be "automation".
Warning: "automations" should be "automation".
Warning: "automations" should be "automation".
Warning: "ws" should be "was".
Warning: "ws" should be "was".
Warning: "ws" should be "was".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "WS" should be "WAS".
Warning: "ro" should be "to".
Warning: "hd" should be "had".
Warning: "dur" should be "due".
Warning: "dur" should be "due".
Warning: "dur" should be "due".
Warning: "dur" should be "due".
Warning: "dur" should be "due".
Warning: "dur" should be "due".
Warning: "dur" should be "due".
Warning: "pn" should be "on".
error: `bck` should be `back`
  --> ./website/docs/maintenance/backup_restore.md:10:31
   |
10 | Create backup file `teslamate.bck`:
   |                               ^^^
   |
error: `bck` should be `back`
  --> ./website/docs/maintenance/backup_restore.md:13:92
   |
13 | docker compose exec -T database pg_dump -U teslamate teslamate > /backuplocation/teslamate.bck
   |                                                                                            ^^^
   |
error: `bck` should be `back`
  --> ./website/docs/maintenance/backup_restore.md:21:46
   |

(...)

Error: Process completed with exit code 2.

@JakobLichterfeld
Copy link
Collaborator Author

Caused by crate-ci/typos@master

crate-ci/typos#970

@JakobLichterfeld JakobLichterfeld changed the title CI: Elixir Lint produce typo warnings and errors CI: Elixir Lint spell checking with typos produce warnings and errors Apr 2, 2024
JakobLichterfeld added a commit that referenced this issue Apr 2, 2024
JakobLichterfeld added a commit that referenced this issue Apr 2, 2024
* ci: update typos false positive list

fixes: #3807

* doc: update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update Github_actions code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant