Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

chore: upgrade python #109

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,22 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Prepare the job environment.
uses: ./.github/workflows/prepare-action

- name: Lint code.
run: pipenv run molecule lint
run: |
pipenv run yamllint --strict --format colored . &&
pipenv run ansible-lint -v --force-color --offline --exclude .pipenv/ . molecule/

license_compliance:
name: Check license compliance with reuse.
runs-on: ubuntu-22.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Prepare the job environment.
uses: ./.github/workflows/prepare-action
Expand All @@ -63,7 +65,7 @@ jobs:

steps:
- name: Check out the codebase.
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Prepare the job environment.
uses: ./.github/workflows/prepare-action
Expand Down Expand Up @@ -94,7 +96,7 @@ jobs:
needs: [lint, license_compliance, test]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: galaxy
uses: robertdebock/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ description: Install the necessary dependencies for jobs.
runs:
using: composite
steps:
- name: Install pipenv
- name: Install pipenv.
run: pipx install pipenv
shell: bash

- name: Set up Python 3.
uses: actions/setup-python@v4
id: setup-python
with:
python-version: '3.9'
python-version: '3.11'
cache: 'pipenv'

- name: Install dependencies via pipenv.
Expand Down
12 changes: 6 additions & 6 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ verify_ssl = true

[dev-packages]
yamllint = "~=1.32.0"
ansible-lint = "~=6.10.2"
molecule = {extras = ["podman"], version = "~=4.0.4"}
molecule-podman = "~=2.0.3"
reuse = "~=1.1.0"
ansible-lint = "~=6.20.0"
molecule = "~=6.0.2"
molecule-plugins = {extras = ["podman"], version = "~=23.5.0"}
reuse = "~=2.1.0"

[packages]
ansible = "~=7.4.0"
ansible = "~=8.4.0"

[requires]
python_version = "3.9"
python_version = "3.11"
154 changes: 35 additions & 119 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading