mirror of
https://github.com/casey/just.git
synced 2024-11-23 02:44:56 +03:00
Remove snap installation instructions from readme (#2070)
This commit is contained in:
parent
324c5d3113
commit
46e3428a3d
43
README.md
43
README.md
@ -263,12 +263,6 @@ most Windows users.)
|
||||
<td><a href=https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/just/default.nix>just</a></td>
|
||||
<td><code>nix-env -iA nixpkgs.just</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href=https://snapcraft.io/docs/installing-snapd>Various</a></td>
|
||||
<td><a href=https://snapcraft.io>Snap</a></td>
|
||||
<td><a href=https://snapcraft.io/just>just</a></td>
|
||||
<td><code>snap install --edge --classic just</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href=https://voidlinux.org>Void Linux</a></td>
|
||||
<td><a href=https://wiki.voidlinux.org/XBPS>XBPS</a></td>
|
||||
@ -321,41 +315,12 @@ circumstances, pass a specific tag to install with `--tag`.
|
||||
|
||||
### GitHub Actions
|
||||
|
||||
Developers may be interested in running the same `just` commands that they use
|
||||
locally on continuous integration platforms such as GitHub Actions. For example,
|
||||
every time that a contributor creates a pull request, a GitHub Action could run
|
||||
`just test` on the three major operating systems to provide feedback to both the
|
||||
contributor and reviewers that tests are passing.
|
||||
`just` can be installed on GitHub Actions in a few ways.
|
||||
|
||||
Demonstrate how to install and use just in GitHub Actions on the three major
|
||||
operating systems without needing third-party GitHub Actions. Put the following
|
||||
code into a `.github/workflows/just_test.yml` file.
|
||||
Using package managers pre-installed on GitHub Actions runners on MacOS with
|
||||
`brew install just`, and on Windows with `choco install just`.
|
||||
|
||||
```yaml
|
||||
name: just_test
|
||||
on: [pull_request, push]
|
||||
jobs:
|
||||
ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: sudo snap install --edge --classic just
|
||||
- uses: actions/checkout@v4
|
||||
- run: just test
|
||||
macos:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- run: brew install just
|
||||
- uses: actions/checkout@v4
|
||||
- run: just test
|
||||
windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- run: choco install just
|
||||
- uses: actions/checkout@v4
|
||||
- run: just test
|
||||
```
|
||||
|
||||
Or with [extractions/setup-just](https://github.com/extractions/setup-just):
|
||||
With [extractions/setup-just](https://github.com/extractions/setup-just):
|
||||
|
||||
```yaml
|
||||
- uses: extractions/setup-just@v1
|
||||
|
Loading…
Reference in New Issue
Block a user