Skip to content

Commit

Permalink
reorder steps in github actions, add pipenv setup and caching
Browse files Browse the repository at this point in the history
  • Loading branch information
andreygubarev committed May 10, 2024
1 parent 442c965 commit 70d014c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up direnv
uses: andreygubarev/direnv-action@v1

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

- name: Set up direnv
uses: andreygubarev/direnv-action@v1
- name: Install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python

- name: Lint with ansible-lint
run: |
Expand Down

0 comments on commit 70d014c

Please sign in to comment.