@@ -21,20 +21,12 @@ If you want a specific version of `just` you can specify this by passing the
2121` ` ` yaml
2222- uses: extractions/setup-just@v2
2323 with:
24- just-version: '1.4 .0'
24+ just-version: '1.40 .0'
2525` ` `
2626
2727To avoid rate-limiting, the default Github token available to all actions, is
28- automatically used to authenticate calls to Github. To override it, set the
29- environment variable `GITHUB_TOKEN` or pass the input `github-token`.
30-
31- ` ` ` yaml
32- - uses: extractions/setup-just@v2
33- env:
34- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35- ` ` `
36-
37- or
28+ automatically used to authenticate calls to Github. To override it, pass the
29+ input `github-token`.
3830
3931` ` ` yaml
4032- uses: extractions/setup-just@v2
@@ -54,38 +46,17 @@ package](https://www.npmjs.com/package/semver). This GitHub Action will install
5446the latest matching release. Examples include
5547
5648- `just-version : ' *' ` latest version (default).
57- - ` just-version: '0.10 '` equivalent to `>=0.10. 0 <0.11 .0`.
58- - `just-version : ' 0.10.x ' ` equivalent to ` >=0.10 .0 <0.11 .0`.
59- - `just-version : ' 0.10.0 ' ` equivalent to ` =0.10.0 `.
60- - `just-version : ' ^0.10.0 ' ` equivalent to ` >=0.10.0 <0.11 .0`.
49+ - ` just-version: '1 '` equivalent to `>=1.0. 0 <2.0 .0`.
50+ - `just-version : ' 1.2 ' ` equivalent to ` >=1.2 .0 <2.0 .0`.
51+ - `just-version : ' 1.2.3 ' ` equivalent to ` =1.2.3 `.
52+ - `just-version : ' ^1.2.3 ' ` equivalent to ` >=1.2.3 <2.0 .0`.
6153
6254# # Development
6355
64- Most of the installation logic is done in a shared library located at
56+ This action is a composite action and the installation logic is done in a shared
57+ library located at
6558[@extractions/setup-crate](https://github.com/extractions/setup-crate).
6659
67- The following commands are useful for development.
68-
69- - ` npm i`
70-
71- Install all dependencies.
72-
73- - ` npm run fmt`
74-
75- Format the source code.
76-
77- - ` npm run lint`
78-
79- Run all lints.
80-
81- - ` npm run run`
82-
83- Test the action by running it.
84-
85- - ` npm run build`
86-
87- Build the action and update `dist/`.
88-
8960# # License
9061
9162Licensed under either of
0 commit comments