Skip to content

Commit

Permalink
GitHub actions: No need for dependency anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Napsty committed Jan 19, 2024
1 parent 5c13561 commit 407ef82
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/rockylinux9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,12 @@ jobs:
image: rockylinux/rockylinux:9
steps:
- uses: actions/checkout@v1
- name: Enable EPEL
run: |
dnf install -y dnf-plugins-core
dnf config-manager --set-enabled crb
dnf install -y epel-release
- name: Install dependencies
run: |
dnf -y install nagios-plugins-perl perl-FindBin perl-lib
- name: Move Plugin to nagios-plugins dir
run: |
mv check_ro_mounts.pl /usr/lib64/nagios/plugins/
dnf -y install perl perl-lib
- name: Launch plugin with --help
run: |
/usr/lib64/nagios/plugins/check_ro_mounts.pl --help
./check_ro_mounts.pl --help
launch-checks:
needs: launch-help
runs-on: ubuntu-latest
Expand Down

0 comments on commit 407ef82

Please sign in to comment.