Skip to content

Commit

Permalink
Remove use of mstksg/get-package in actions
Browse files Browse the repository at this point in the history
It uses NodeJS 12 which is outdated and will be removed soon.
It is easy to move to use apt-get.
This update does what the action was doing anyways.
  • Loading branch information
Mab879 committed May 15, 2023
1 parent e90cb80 commit efdb2de
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 18 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/automatus-cs8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Install Deps
uses: mstksg/get-package@master
with:
apt-get: cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml ansible-lint podman
run: apt-get update && apt-get install cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml ansible-lint podman
- name: Checkout
uses: actions/checkout@v3
- name: Get cached CTF output
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/automatus-cs9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Install Deps
uses: mstksg/get-package@master
with:
apt-get: cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml ansible-lint podman
run: apt-get update && apt-get install cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml ansible-lint podman
- name: Checkout
uses: actions/checkout@v3
- name: Get cached CTF output
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/automatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Install Deps
uses: mstksg/get-package@master
with:
apt-get: cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml ansible-lint podman
run: apt-get update && apt-get cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml ansible-lint podman
- name: Checkout
uses: actions/checkout@v3
- name: Get cached CTF output
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ctf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Deps
uses: mstksg/get-package@master
with:
apt-get: git python3-jinja2 python3-yaml python3-setuptools python3-deepdiff python3-git python3-github python3-requests xmldiff
run: apt-get update && apt-get install git python3-jinja2 python3-yaml python3-setuptools python3-deepdiff python3-git python3-github python3-requests xmldiff
- name: Checkout
uses: actions/checkout@v3
with:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/gate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Install Deps
uses: mstksg/get-package@master
with:
apt-get: cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml python3-setuptools ansible-lint python3-github bats python3-pytest python3-pytest-cov shellcheck
run: apt-get update && apt-get install cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml python3-setuptools ansible-lint python3-github bats python3-pytest python3-pytest-cov shellcheck
- name: Checkout
uses: actions/checkout@v3
- name: Build
Expand Down Expand Up @@ -110,9 +108,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Install Deps
uses: mstksg/get-package@master
with:
apt-get: cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml python3-setuptools ansible-lint python3-github bats python3-pytest python3-pytest-cov shellcheck
run: apt-get update && apt-get install cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml python3-setuptools ansible-lint python3-github bats python3-pytest python3-pytest-cov shellcheck
- name: Checkout
uses: actions/checkout@v3
- name: Build
Expand Down

0 comments on commit efdb2de

Please sign in to comment.