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

cspell github action #199

Closed
stanislav-tkach opened this issue Feb 27, 2020 · 10 comments
Closed

cspell github action #199

stanislav-tkach opened this issue Feb 27, 2020 · 10 comments

Comments

@stanislav-tkach
Copy link

It would be nice to have the github action that simplifies the usage of cspell on CI.

@Jason3S
Copy link
Collaborator

Jason3S commented Feb 28, 2020

That is a great idea.

@Jason3S
Copy link
Collaborator

Jason3S commented Apr 29, 2020

A github action is a good idea. It will take a bit of work.
In the mean time: lint.yml

name: lint
on: # rebuild any PRs and main branch changes
  pull_request:
  push:

jobs:
  cspell:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: npx cspell "**/{*.ts,*.md}"

@adamralph
Copy link

@Jason3S should the link be to cspell.yml?

@nschonni
Copy link
Collaborator

There is an Action repo here https://github.com/streetsidesoftware/cspell-action but I don't know if there is more work needed for it

@adamralph
Copy link

Is it worth maintaining an action just to wrap npx cspell?

@nschonni
Copy link
Collaborator

Depends how it's implemented. If there is a dedicated action, it can do things like streetsidesoftware/cspell-action#9

@Jason3S
Copy link
Collaborator

Jason3S commented Oct 28, 2020

https://github.com/streetsidesoftware/cspell-action is still a work in progress.

Someone else has made a simple version:
simple-cspell · Actions · GitHub Marketplace

@Jason3S
Copy link
Collaborator

Jason3S commented Jan 29, 2021

cspell-action can be found at:
cspell-action · Actions · GitHub Marketplace or
https://github.com/streetsidesoftware/cspell-action

Please try it out. Feedback welcome.

@stanislav-tkach
Copy link
Author

Thanks!

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants