Skip to content

Update dependency minio to v7.2.2 #229

Update dependency minio to v7.2.2

Update dependency minio to v7.2.2 #229

Workflow file for this run

name: Ansible CI Pipeline
on:
push:
branches:
- main
pull_request:
defaults:
run:
working-directory: ansible
jobs:
init:
name: Initialize pipenv
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
id: python-setup
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pipenv
cache-dependency-path: "**/Pipfile.lock"
- name: Install pipenv
run: pip install pipenv
- name: Install pipenv dependencies
if: steps.python-setup.outputs.cache-hit != 'true'
run: pipenv install -d
lint:
name: Lint
runs-on: ubuntu-latest
needs: init
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pipenv
cache-dependency-path: "**/Pipfile.lock"
- name: Install pipenv
run: pip install pipenv
- name: Run lint
run: pipenv run init && pipenv run lint
format:
name: Format
runs-on: ubuntu-latest
needs: init
steps:
- name: Generate a token
id: token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.PUSHER_APP_ID }}
private-key: ${{ secrets.PUSHER_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ steps.token.outputs.token }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pipenv
cache-dependency-path: "**/Pipfile.lock"
- name: Install pipenv
run: pip install pipenv
- name: Run format
run: pipenv run format
- name: Push
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Run pipenv format"
branch: ${{ github.head_ref }}
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>