mirror of
https://github.com/extractions/setup-just
synced 2026-09-14 20:13:55 +00:00
Maintenance updates
- Add development section to README. - Add `ncc` as a dev dependency. - Test latest versions of `just`.
This commit is contained in:
@@ -21,7 +21,7 @@ If you want a specific version of `just` you can specify this by passing the
|
||||
```yaml
|
||||
- uses: extractions/setup-just@v1
|
||||
with:
|
||||
just-version: 0.9
|
||||
just-version: 0.10
|
||||
```
|
||||
|
||||
In rare circumstances you might get rate limiting errors, this is because this
|
||||
@@ -45,10 +45,37 @@ package](https://www.npmjs.com/package/semver). This GitHub Action will install
|
||||
the latest matching release. Examples include
|
||||
|
||||
- `just-version: '*'` latest version (default).
|
||||
- `just-version: '0.9'` equivalent to `>=0.9.0 <0.10.0`.
|
||||
- `just-version: '0.9.x'` equivalent to `>=0.9.0 <0.10.0`.
|
||||
- `just-version: '0.9.0'` equivalent to `=0.9.0`.
|
||||
- `just-version: '^0.9.0'` equivalent to `>=0.9.0 <0.10.0`.
|
||||
- `just-version: '0.10'` equivalent to `>=0.10.0 <0.11.0`.
|
||||
- `just-version: '0.10.x'` equivalent to `>=0.10.0 <0.11.0`.
|
||||
- `just-version: '0.10.0'` equivalent to `=0.10.0`.
|
||||
- `just-version: '^0.10.0'` equivalent to `>=0.10.0 <0.11.0`.
|
||||
|
||||
## Development
|
||||
|
||||
Most of the installation logic is done in a shared library located at
|
||||
[@extractions/setup-crate](https://github.com/extractions/setup-crate).
|
||||
|
||||
The following commands are useful for development.
|
||||
|
||||
- `npm i`
|
||||
|
||||
Install all dependencies.
|
||||
|
||||
- `npm run fmt`
|
||||
|
||||
Format the source code.
|
||||
|
||||
- `npm run lint`
|
||||
|
||||
Run all lints.
|
||||
|
||||
- `npm run run`
|
||||
|
||||
Test the action by running it.
|
||||
|
||||
- `npm run build`
|
||||
|
||||
Build the action and update `dist/`.
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user