Skip to content

Commit dd1bd80

Browse files
committed
Add a new github actions job for ansible-cli
Signed-off-by: chiragkyal <ckyal@redhat.com>
1 parent 2709abe commit dd1bd80

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/test-ansible.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,24 @@ jobs:
2929
- run: sudo rm -rf /usr/local/bin/kustomize
3030
- uses: actions/setup-python@v5
3131
with:
32-
python-version: '3.12'
32+
python-version: "3.12"
3333
- name: Run test e2e ansible molecule
3434
run: |
3535
env
3636
pip3 install --user --upgrade setuptools pip
3737
pip3 install --user ansible-core~=2.17.4
3838
make test-e2e-ansible-molecule
39+
build-ansible-cli:
40+
name: build-ansible-cli
41+
runs-on: ubuntu-22.04
42+
steps:
43+
- name: Check out code
44+
uses: actions/checkout@v4
45+
with:
46+
fetch-depth: 0
47+
- name: Set up Go
48+
uses: actions/setup-go@v5
49+
with:
50+
go-version-file: "go.mod"
51+
- name: Run make ansible-cli
52+
run: make ansible-cli

0 commit comments

Comments
 (0)