Skip to content

Commit

Permalink
chore: bump GH action dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenruizdegauna committed Dec 12, 2023
1 parent e1ff0b8 commit 577c2c1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
enable_list:
- yaml

skip_list:
- role-name
- risky-file-permissions
- literal-compare
4 changes: 2 additions & 2 deletions .github/actions/installation/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo pipx uninstall ansible-core
sudo pip3 install 'rich>=10.0.0,<11.0.0'
sudo pip3 install ansible-lint[community]==5.3.2
sudo pip3 install molecule[docker]==3.6.0
sudo pip3 install ansible-lint[community]==6.13.1
sudo pip3 install molecule[docker]==4.0.4


ansible --version
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/linter/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ runs:
steps:
- name: Run linter
id: linter
run: ansible-lint tasks/* -x role-name,risky-file-permissions,literal-compare -c .yamllint
run: ansible-lint tasks/*
shell: bash
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install requirements
uses: newrelic/infrastructure-agent-ansible/.github/actions/installation@master
uses: ./.github/actions/installation
- name: Run linter
uses: newrelic/infrastructure-agent-ansible/.github/actions/linter@master
uses: ./.github/actions/linter
- name: Run tests
uses: newrelic/infrastructure-agent-ansible/.github/actions/tests@master
uses: ./.github/actions/tests

0 comments on commit 577c2c1

Please sign in to comment.