Skip to content

Commit

Permalink
ci: ansible-lintのactionを使う
Browse files Browse the repository at this point in the history
  • Loading branch information
CASL0 committed Dec 20, 2024
1 parent dfcbed5 commit 046667f
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@ permissions:
contents: read

jobs:
run-script:
runs-on: ubuntu-latest
build:
name: Ansible Lint
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
- name: Run ansible-lint
uses: ansible/ansible-lint@v24.12.2
with:
python-version: 3.12

- name: Install dependencies
run: pip install -r requirements.txt

- name: ansible lint
run: ansible-lint
setup_python: "true"
requirements_file: ""

0 comments on commit 046667f

Please sign in to comment.