File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,5 +10,27 @@ inputs:
1010 required : false
1111 default : pkgcheck>=0.10.3
1212runs :
13- using : node16
14- main : dist/index.js
13+ using : composite
14+ steps :
15+ - name : Cache pkgcheck
16+ uses : actions/cache@v3
17+ with :
18+ path : |
19+ ~/.cache/pkgcore
20+ ~/.cache/pkgcheck
21+ key : pkgcheck
22+
23+ - name : Run pkgcheck
24+ uses : docker://ghcr.io/pkgcore/pkgcheck:latest
25+ with :
26+ entrypoint : /usr/bin/bash
27+ args : >
28+ -c "
29+ runner() { echo \"::group::${1}\"; shift 1; \"$@\"; local exit=$?; echo; echo \"::endgroup::\"; return $exit; } ;
30+ runner \"Sync gentoo repo\" pmaint sync gentoo || exit 1 ;
31+ runner \"Update repo metadata\" pmaint regen --dir ~/.cache/pkgcheck/repos . ;
32+ runner \"Run pkgcheck\" pkgcheck --color y ci --failures ~/failures.json --exit GentooCI ${{ inputs.args }} ;
33+ scan_exit_status=$? ;
34+ pkgcheck replay --color y ~/failures.json ;
35+ exit $scan_exit_status
36+ "
You can’t perform that action at this time.
0 commit comments