Skip to content

Commit

Permalink
Merge pull request #286 from nextcloud/bugfix/remove-yamllint-ga
Browse files Browse the repository at this point in the history
Fix broken Yamllint Github Action
  • Loading branch information
wiktor2200 committed Jun 23, 2023
2 parents edd1670 + ce7e126 commit 7149b26
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 44 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/ansible-lint.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pip==23.1.2
ansible==8.0.0
netaddr==0.8.0
yamllint==1.32.0
38 changes: 38 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Lint
"on":
pull_request:
push:
schedule:
- cron: "0 7 * * *"

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Run ansible-lint
# replace `main` with any valid ref, or tags like `v6`
uses: ansible-community/ansible-lint-action@v6

- name: Set up Python 3.
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Upgrade yamllint
run: |
pip install --constraint=.github/workflows/constraints.txt yamllint
- name: Lint code.
run: |
yamllint -c .yamllint.yml .
19 changes: 0 additions & 19 deletions .github/workflows/yamllint.yml

This file was deleted.

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[![Ansible-lint status](https://github.com/nextcloud/ansible-collection-nextcloud-admin/actions/workflows/ansible-lint.yml/badge.svg)](https://github.com/nextcloud/ansible-collection-nextcloud-admin/actions?workflow=Ansible%20Lint)
[![YAML-lint status](https://github.com/nextcloud/ansible-collection-nextcloud-admin/actions/workflows/yamllint.yml/badge.svg)](https://github.com/nextcloud/ansible-collection-nextcloud-admin/actions?workflow=Yaml%20Lint)
[![Lint status](https://github.com/nextcloud/ansible-collection-nextcloud-admin/actions/workflows/lint.yml/badge.svg)](https://github.com/nextcloud/ansible-collection-nextcloud-admin/actions?workflow=Lint)
[![Tests for all supported versions](https://github.com/nextcloud/ansible-collection-nextcloud-admin/actions/workflows/tests.yml/badge.svg)](https://github.com/nextcloud/ansible-collection-nextcloud-admin/actions?workflow=Tests)
[![Tests for latest](https://github.com/nextcloud/ansible-collection-nextcloud-admin/actions/workflows/tests_latest.yml/badge.svg)](https://github.com/nextcloud/ansible-collection-nextcloud-admin/actions?workflow=Tests%20latest)

# ansible collection for nextcloud administration
# Ansible collection for nextcloud administration

This repository hosts the `nextcloud.admin` Ansible Collection (formerly the role `aalaesar.install_nextcloud`).

Expand Down
2 changes: 1 addition & 1 deletion molecule/default/latest-converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
nextcloud_apps:
calendar:
contacts:
source: "https://github.com/nextcloud-releases/contacts/releases/download/v5.2.0/contacts-v5.2.0.tar.gz"
source: "https://github.com/nextcloud-releases/contacts/releases/download/v5.3.1/contacts-v5.3.1.tar.gz"
conf:
var_1: "no"
passwords:
Expand Down

0 comments on commit 7149b26

Please sign in to comment.