Skip to content

Merge pull request #2155 from pascaliske/renovate/k3s-io-k3s-1.x #672

Merge pull request #2155 from pascaliske/renovate/k3s-io-k3s-1.x

Merge pull request #2155 from pascaliske/renovate/k3s-io-k3s-1.x #672

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Ansible
on:
push:
branches:
- main
paths:
- 'ansible/**'
- '.github/workflows/ansible.yml'
pull_request:
branches:
- main
paths:
- 'ansible/**'
- '.github/workflows/ansible.yml'
env:
ANSIBLE_ROLES_PATH: ansible/roles
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
# checkout
- uses: actions/checkout@v4
# workaround: ensure git directory exists in working directory, ansible action requires this
- name: Symlink Git directory to ansible working directory
run: |
ln -s ${{ github.workspace }}/.git ${{ github.workspace }}/ansible/.git
ln -s ${{ github.workspace }}/.ansible-lint ${{ github.workspace }}/ansible/.ansible-lint
# lint ansible
- uses: ansible/[email protected]
with:
working_directory: ${{ github.workspace }}/ansible