Skip to content

Commit

Permalink
Adding requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
DO1JLR committed Oct 28, 2023
1 parent f30ae84 commit 0f54ff9
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 35 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ansible-linting-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: 'checkout git repo'
uses: actions/checkout@v4.1.0
- name: Checkout git repo
uses: actions/checkout@v4
with:
lfs: true
submodules: false
submodules: true
fetch-depth: 0

- name: Run ansible-lint
uses: ansible-actions/[email protected]
with:
target: "./"
collections_yml: 'requirements.yml'
16 changes: 9 additions & 7 deletions .github/workflows/galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
---
name: Galaxy release
name: Galaxy-NG Roles Import

# yamllint disable-line rule:truthy
on:
push:
branches: ['main']
release:
types: ['created']

jobs:
build:
name: Galaxy Role Importer
runs-on: ubuntu-latest

steps:
- name: 'checkout git repo'
- name: 'Checkout git repo'
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: 'release on galaxy'
uses: robertdebock/galaxy-action@1.2.1
- name: 'Release on galaxy'
uses: ansible-actions/ansible-galaxy-action@v1.1.1
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
git_branch: 'main'
22 changes: 22 additions & 0 deletions .github/workflows/j2lint-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Jinja2 Linting check

# yamllint disable-line rule:truthy
on: [push, pull_request]

jobs:
build:
name: Jinja2 Linting
runs-on: ubuntu-latest

steps:
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: Run j2lint
uses: ansible-actions/[email protected]
with:
target: "./"
22 changes: 22 additions & 0 deletions .github/workflows/yamllint-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Yamllint check

# yamllint disable-line rule:truthy
on: [push, pull_request]

jobs:
build:
name: Yamllint
runs-on: ubuntu-latest

steps:
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: Run yamllint
uses: ansible-actions/[email protected]
with:
target: "./"
23 changes: 0 additions & 23 deletions .github/workflows/yamllint.yaml

This file was deleted.

5 changes: 4 additions & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ galaxy_info:
- gnupg
- passwordstore
- linux
dependencies: []
dependencies:
- name: 'community.general'
src: 'https://galaxy.ansible.com'
version: ">=7.5.0,<=8.0.0"

0 comments on commit 0f54ff9

Please sign in to comment.