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><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>
|
<td><code>nix-env -iA nixpkgs.just</code></td>
|
||||||
</tr>
|
</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>
|
<tr>
|
||||||
<td><a href=https://voidlinux.org>Void Linux</a></td>
|
<td><a href=https://voidlinux.org>Void Linux</a></td>
|
||||||
<td><a href=https://wiki.voidlinux.org/XBPS>XBPS</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
|
### GitHub Actions
|
||||||
|
|
||||||
Developers may be interested in running the same `just` commands that they use
|
`just` can be installed on GitHub Actions in a few ways.
|
||||||
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.
|
|
||||||
|
|
||||||
Demonstrate how to install and use just in GitHub Actions on the three major
|
Using package managers pre-installed on GitHub Actions runners on MacOS with
|
||||||
operating systems without needing third-party GitHub Actions. Put the following
|
`brew install just`, and on Windows with `choco install just`.
|
||||||
code into a `.github/workflows/just_test.yml` file.
|
|
||||||
|
|
||||||
```yaml
|
With [extractions/setup-just](https://github.com/extractions/setup-just):
|
||||||
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):
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user