Make GitHub Actions instructions more prominent (#944)

This commit is contained in:
Casey Rodarmor 2021-08-10 16:18:13 -07:00 committed by GitHub
parent e72e7dd569
commit 4db0d15289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,18 @@ You can use the following command on Linux, MacOS, or Windows to download the la
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to DEST
```
=== GitHub Actions
link:https://github.com/extractions/setup-just[extractions/setup-just] can be used to install `just` in a GitHub Actions workflow.
Example usage:
```yaml
- uses: extractions/setup-just@v1
with:
just-version: 0.8 # optional semver specification, otherwise latest
```
== Editor Support
`justfile` syntax is close enough to `make` that you may want to tell your editor to use `make` syntax highlighting for `just`.
@ -1588,18 +1600,6 @@ Tools that pair nicely with `just` include:
- https://github.com/mattgreen/watchexec[`watchexec`] — a simple tool that watches a path and runs a command whenever it detects modifications.
=== GitHub Actions
link:https://github.com/extractions/setup-just[extractions/setup-just] can be used to install `just` in a GitHub Actions workflow.
Example usage:
```yaml
- uses: extractions/setup-just@v1
with:
just-version: 0.8 # optional semver specification, otherwise latest
```
=== Shell Alias
For lightning-fast command running, put `alias j=just` in your shell's configuration file.