Skip to content

Commit

Permalink
Add shell to CI tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed Jul 16, 2024
1 parent b85fa3b commit 1a121e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: make ci
- name: 'Execute cat /etc/*-release via Ubuntu 22.04 Docker container'
- name: 'Execute cat /etc/*-release using bash shell via Ubuntu 22.04 Docker container'
uses: cliffano/command-docker-action@main
with:
command: 'cat /etc/*-release'
image: 'ubuntu:22.04'
- name: 'Execute cat /etc/*-release via default Docker container'
image: ubuntu:22.04
shell: bash
- name: 'Execute cat /etc/*-release using default sh shell via default Docker container'
uses: cliffano/command-docker-action@main
with:
command: 'cat /etc/*-release'
- name: 'Execute cat /etc/*-release via Rocky Linux 9.3 Docker container'
- name: 'Execute cat /etc/*-release using bash shell via Rocky Linux 9.3 Docker container'
uses: cliffano/command-docker-action@main
with:
command: 'cat /etc/*-release'
image: 'rockylinux:9.3'
image: rockylinux:9.3
shell: bash
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,22 @@ Looping through a space-separated list of items:
jobs:
build:
steps:
- name: 'Execute cat /etc/*-release via default Docker container'
- name: 'Execute cat /etc/*-release using default sh shell via default alpine Docker container'
uses: cliffano/command-docker-action@main
with:
command: 'cat /etc/*-release'
- name: 'Execute cat /etc/*-release via Ubuntu 22.04 Docker container'
- name: 'Execute cat /etc/*-release using bash shell via Ubuntu 22.04 Docker container'
uses: cliffano/command-docker-action@main
with:
command: 'cat /etc/*-release'
image: 'ubuntu:22.04'
- name: 'Execute cat /etc/*-release via Rocky Linux 9.3 Docker container'
image: ubuntu:22.04
shell: bash
- name: 'Execute cat /etc/*-release using bash shell via Rocky Linux 9.3 Docker container'
uses: cliffano/command-docker-action@main
with:
command: 'cat /etc/*-release'
image: 'rockylinux:9.3'
image: rockylinux:9.3
shell: bash

Configuration
-------------
Expand Down

0 comments on commit 1a121e3

Please sign in to comment.