Skip to content

Commit

Permalink
update the github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsysmin committed Jan 16, 2024
1 parent ec891cf commit 8673dfe
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 38 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/chrony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '.github/workflows/chrony.yml'
jobs:
molecule:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
Expand All @@ -38,19 +38,19 @@ jobs:
with:
path: ansible_collections/ericsysmin/system

- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8

python-version: 3.12
- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
python -m pip install --upgrade pip
pip install ansible molecule yamllint ansible-lint docker molecule-docker
pip install ansible molecule yamllint ansible-lint molecule-plugins[docker]
- name: Run role tests
run: >-
molecule --version &&
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/epel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '.github/workflows/epel.yml'
jobs:
molecule:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
Expand All @@ -30,18 +30,18 @@ jobs:
with:
path: ansible_collections/ericsysmin/system

- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8

python-version: 3.12
- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
python -m pip install --upgrade pip
pip install ansible molecule yamllint ansible-lint docker molecule-docker
pip install ansible molecule yamllint ansible-lint molecule-plugins[docker]
- name: Run role tests
run: >-
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/logrotate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '.github/workflows/logrotate.yml'
jobs:
logrotate:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
Expand All @@ -38,18 +38,18 @@ jobs:
with:
path: ansible_collections/ericsysmin/system

- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8

python-version: 3.12
- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
python -m pip install --upgrade pip
pip install ansible molecule yamllint ansible-lint docker molecule-docker
pip install ansible molecule yamllint ansible-lint molecule-plugins[docker]
- name: Run role tests
run: >-
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ntp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '.github/workflows/ntp.yml'
jobs:
molecule:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
Expand All @@ -33,18 +33,18 @@ jobs:
with:
path: ansible_collections/ericsysmin/system

- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8

python-version: 3.12
- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
python -m pip install --upgrade pip
pip install ansible molecule yamllint ansible-lint docker molecule-docker
pip install ansible molecule yamllint ansible-lint molecule-plugins[docker]
- name: Run role tests
run: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- created
jobs:
release:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
ANSIBLE_GALAXY_TOKEN: ${{ secrets.ANSIBLE_GALAXY_TOKEN }}
ANSIBLE_FORCE_COLOR: 1
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/remi_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '.github/workflows/remi_repo.yml'
jobs:
molecule:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
Expand All @@ -33,18 +33,18 @@ jobs:
with:
path: ansible_collections/ericsysmin/system

- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8

python-version: 3.12
- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
python -m pip install --upgrade pip
pip install ansible molecule yamllint ansible-lint docker molecule-docker
pip install ansible molecule yamllint ansible-lint molecule-plugins[docker]
- name: Run role tests
run: >-
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/selinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '.github/workflows/selinux.yml'
jobs:
molecule:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
Expand All @@ -30,18 +30,18 @@ jobs:
with:
path: ansible_collections/ericsysmin/system

- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8

python-version: 3.12
- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
python -m pip install --upgrade pip
pip install ansible molecule yamllint ansible-lint docker molecule-docker
pip install ansible molecule yamllint ansible-lint molecule-plugins[docker]
- name: Run role tests
run: >-
Expand Down

0 comments on commit 8673dfe

Please sign in to comment.