Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Bump ansible-runner from 2.3.6 to 2.4.0 in /_build #515

Bump ansible-runner from 2.3.6 to 2.4.0 in /_build

Bump ansible-runner from 2.3.6 to 2.4.0 in /_build #515

Workflow file for this run

---
name: task # named after our build tool (taskfile) cli command
on:
pull_request:
branches: [main, devel]
push:
branches: [main, devel]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
task:
name: ${{ matrix.command }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
command:
- lint
- build
env:
# We use this option only on release pipeline due to the heavy cost
EXTRA_OPTS: --platform=linux/amd64,linux/arm64
EXPECTED_IMAGES: 2
steps:
- name: Grab the source from Git
uses: actions/checkout@v4
with:
fetch-depth: 0 # needed to determine version
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v5
with:
# keep this in sync with python version from base container
python-version: "3.12" # 3.12 is default on fedora-39
cache: "pip"
- name: Set cache for galaxy
uses: actions/cache@v4
with:
path: |
collections
key: galaxy-${{ hashFiles('_build/requirements.yml') }}
save-always: true
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
base:
- 'base/**'
- name: "Run: task base"
if: steps.changes.outputs.base == 'true' && matrix.command == 'build'
run: task base
- name: "Run: task ${{ matrix.command }}"
run: task ${{ matrix.command }}
check: # This job does nothing and is only used for the branch protection
if: always()
needs:
- task
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}