From 04ffcad47eb536c3f848ae314192ebb8837dcad1 Mon Sep 17 00:00:00 2001 From: wqian Date: Tue, 11 Jun 2024 14:46:45 +0100 Subject: [PATCH] Rename ubuntu workflow Build directly without container --- ...{automatus-ubt22.yaml => automatus-ubuntu2204.yaml} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename .github/workflows/{automatus-ubt22.yaml => automatus-ubuntu2204.yaml} (96%) diff --git a/.github/workflows/automatus-ubt22.yaml b/.github/workflows/automatus-ubuntu2204.yaml similarity index 96% rename from .github/workflows/automatus-ubt22.yaml rename to .github/workflows/automatus-ubuntu2204.yaml index b05bc2a1be2..2dc3d9a995c 100644 --- a/.github/workflows/automatus-ubt22.yaml +++ b/.github/workflows/automatus-ubuntu2204.yaml @@ -1,4 +1,4 @@ -name: Automatus UBT22 +name: Automatus UBUNTU22 on: pull_request: branches: [ master, 'stabilization*' ] @@ -10,14 +10,12 @@ env: jobs: build-content: name: Build Content - runs-on: ubuntu-latest - container: - image: fedora:latest + runs-on: ubuntu-22.04 steps: - name: Install Deps - run: dnf install -y cmake make openscap-utils python3-pyyaml python3-jinja2 git python3-deepdiff python3-requests jq python3-pip + run: sudo apt-get update && sudo apt-get install -y cmake ninja-build libopenscap8 python3-yaml python3-jinja2 git python3-deepdiff python3-requests jq python3-pip - name: Install deps python - run: pip install gitpython xmldiff + run: pip3 install gitpython xmldiff - name: Checkout uses: actions/checkout@v4 with: