Skip to content

Commit

Permalink
run the action on our docker image, use ansible lint for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Niko committed May 7, 2024
1 parent e9c9175 commit a7b335b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,20 @@ jobs:

lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ghcr.io/nikosch86/docker-alpine-ansible:v0.0.3
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
with:
path: 'nikosch86.pbs'

- name: Set up Python 3.
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install test dependencies.
run: pip3 install yamllint

- name: Lint code.
- name: yamllint files
run: |
yamllint .
- name: Ansible lint
run: |
ansible-lint .

0 comments on commit a7b335b

Please sign in to comment.