diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index ec32ad3..65ec15d 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -12,6 +12,7 @@ on: - main - testing - dependabot/** + # - renovate/** paths-ignore: - '**/README.md' - '**/CHANGELOG.md' @@ -20,7 +21,8 @@ on: pull_request: pull_request_target: schedule: - - cron: '25 13 13 * *' + # - cron: '25 13 13 * *' + - cron: '25 13 * * *' workflow_dispatch: @@ -30,7 +32,6 @@ concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true - jobs: lint: runs-on: ubuntu-20.04 @@ -42,7 +43,7 @@ jobs: test: needs: - lint - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -76,24 +77,18 @@ jobs: - image: "docker-molecule-images" tag: "kalilinux" steps: - - name: checkout + - name: Checkout Role uses: actions/checkout@v4 - - - name: Set up Python 3. - uses: actions/setup-python@v5 with: - python-version: '3.x' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - - name: molecule - run: molecule converge - env: + path: "${{ github.repository }}" + - name: Running Molecule Test + uses: buluma/molecule-action@v24.6.17 + with: image: ${{ matrix.config.image }} tag: ${{ matrix.config.tag }} + - name: Running Role Test + run: ansible-galaxy role import --api-key ${{ secrets.galaxy_api_key }} buluma ${{ github.event.repository.name }} + dependabot: needs: - lint diff --git a/requirements.txt b/requirements.txt index 5250f77..a65a4f4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,4 @@ molecule-plugins[docker] == 23.* ansible-lint == 24.* paramiko == 3.* # Pinning requests version due to [bug](https://github.com/docker/docker-py/issues/3113) -# requests == 2.28.1 +requests == 2.28.1