Skip to content

🤖 GitHub Action to install the just command runner

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

extractions/setup-just

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 setup-just action

Build Status

This GitHub Action will install a release of the just command runner for you.

Usage

Examples

In most cases all you will need is the following in your workflow.

- uses: extractions/setup-just@v3

If you want a specific version of just you can specify this by passing the just-version input.

- uses: extractions/setup-just@v3
  with:
    just-version: '1.40.0'

To avoid rate-limiting, the default Github token available to all actions, is automatically used to authenticate calls to Github. To override it, pass the input github-token.

- uses: extractions/setup-just@v3
  with:
    github-token: ${{ secrets.MY_GITHUB_TOKEN }}

Inputs

Name Required Description Type Default
just-version no A valid NPM-style semver specification. string *
github-token no A Github token to authenticate API requests. string ${{ github.token }}

The semver specification is passed directly to NPM's semver package. This GitHub Action will install the latest matching release. Examples include

  • just-version: '*' latest version (default).
  • just-version: '1' equivalent to >=1.0.0 <2.0.0.
  • just-version: '1.2' equivalent to >=1.2.0 <2.0.0.
  • just-version: '1.2.3' equivalent to =1.2.3.
  • just-version: '^1.2.3' equivalent to >=1.2.3 <2.0.0.

Development

This action is a composite action and the installation logic is done in a shared library located at @extractions/setup-crate.

License

Licensed under either of

at your option.