Skip to content

chore(deps): update actions/cache action to v4 #22

chore(deps): update actions/cache action to v4

chore(deps): update actions/cache action to v4 #22

Workflow file for this run

---
name: CI
on:
pull_request: {}
push:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install yamllint
run: pip3 install ansible-lint yamllint jmespath
- name: Lint with ansible-lint
run: ansible-lint -vvvvvvvvvv -R
molecule:
name: Molecule
strategy:
matrix:
job: [default, mirror-merge]
permissions:
# Required for hetznercloud/tps-action
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install ansible and molecule
run: pip3 install ansible jmespath 'molecule>=6.0,<7.0' 'molecule-hetznercloud>=2.0,<3.0'
- uses: hetznercloud/tps-action@main
with:
token: ${{ secrets.HCLOUD_TOKEN }}
- name: Run molecule
run: |
molecule test -s ${{ matrix.job }}
env:
PY_COLORS: "1"
ANSIBLE_FORCE_COLOR: "1"