Skip to content

Commit 2bf6ea9

Browse files
committed
README.md: remove pkgs argument from examples
Resolves: #17 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 3f230b1 commit 2bf6ea9

1 file changed

Lines changed: 4 additions & 19 deletions

File tree

README.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,12 @@ with:
1616
args: --keywords=-RedundantVersion
1717
```
1818
19-
### `pkgs` (optional) -- target package to install
20-
21-
By default, the latest pkgcheck release is installed. This option allows
22-
installing a custom set of packages. Multiple packages can be specified as a
23-
space-separated list if required.
24-
25-
Use of this option targets those who want to pin to a specific release for
26-
whatever reason (e.g. bugs in newer versions) via:
27-
28-
```yaml
29-
uses: pkgcore/pkgcheck-action@v1
30-
with:
31-
pkgs: pkgcheck==0.9.2
32-
```
33-
34-
or those that want to live on the edge running pkgcheck from git:
19+
To enable network checks, you can add ``--net`` to ``args``:
3520
3621
```yaml
3722
uses: pkgcore/pkgcheck-action@v1
3823
with:
39-
pkgs: https://github.com/pkgcore/pkgcheck/archive/master.tar.gz
24+
args: --net
4025
```
4126
4227
## Action failures
@@ -63,7 +48,7 @@ jobs:
6348
runs-on: ubuntu-latest
6449
steps:
6550
- name: Checkout code
66-
uses: actions/checkout@v2
51+
uses: actions/checkout@v4
6752

6853
- name: Run pkgcheck
6954
uses: pkgcore/pkgcheck-action@v1
@@ -85,7 +70,7 @@ jobs:
8570
runs-on: ubuntu-latest
8671
steps:
8772
- name: Checkout code
88-
uses: actions/checkout@v2
73+
uses: actions/checkout@v4
8974

9075
- name: Run pkgcheck
9176
uses: pkgcore/pkgcheck-action@v1

0 commit comments

Comments
 (0)