docs: move dev information into contribution guide
This commit is contained in:
parent
697ae3d965
commit
db1c463e05
@ -23,3 +23,21 @@
|
||||
|
||||
* Ensure the PR description clearly describes the problem and solution.
|
||||
Include the relevant issue number if applicable.
|
||||
|
||||
## Development of this action
|
||||
|
||||
1. Install [act](https://github.com/nektos/act#installation)
|
||||
2. Make a symlink for `act` to work properly: `ln -s . golangci-lint-action`
|
||||
3. Install dependencies: `npm install`
|
||||
4. Build: `npm run build`
|
||||
5. Run `npm run local` after any change to test it
|
||||
|
||||
### Releases
|
||||
|
||||
```bash
|
||||
npm version <major | minor | patch> -m "Upgrade to %s"
|
||||
```
|
||||
|
||||
- https://docs.npmjs.com/cli/v11/commands/npm-version
|
||||
|
||||
The "major tag" (ex: `v6`) should be deleted and then recreated manually.
|
18
README.md
18
README.md
@ -539,21 +539,3 @@ Inside our action, we perform 3 steps:
|
||||
GitHub matches keys by prefix if we have no exact match for the primary cache.
|
||||
|
||||
This scheme is basic and needs improvements. Pull requests and ideas are welcome.
|
||||
|
||||
## Development of this action
|
||||
|
||||
1. Install [act](https://github.com/nektos/act#installation)
|
||||
2. Make a symlink for `act` to work properly: `ln -s . golangci-lint-action`
|
||||
3. Install dependencies: `npm install`
|
||||
4. Build: `npm run build`
|
||||
5. Run `npm run local` after any change to test it
|
||||
|
||||
### Releases
|
||||
|
||||
```bash
|
||||
npm version <major | minor | patch> -m "Upgrade to %s"
|
||||
```
|
||||
|
||||
- https://docs.npmjs.com/cli/v11/commands/npm-version
|
||||
|
||||
The "major tag" (ex: `v6`) should be deleted and then recreated manually.
|
||||
|
Loading…
x
Reference in New Issue
Block a user