diff --git a/.github/workflows/detached.yml b/.github/workflows/detached.yml deleted file mode 100644 index 9cce4c6..0000000 --- a/.github/workflows/detached.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Pull detached upstream automatically from https://github.com/robertdebock/molecule-action - -on: - # Possibility to run it manually - workflow_dispatch: - # Automated - schedule: - # Run this every day at 02:22 UTC - - cron: '22 2 * * *' - - -jobs: - build: - runs-on: ubuntu-latest - - steps: - # Checkout the current repo - - uses: actions/checkout@v3 - # Fetch the history and unshallow the repo so that it can be used - - name: Fetch all history for all tags and branches - run: git fetch --prune --unshallow - # Pull the detached remote and do the magic - - name: Pull Detached Remote -# uses: litetex/pull-detached-remote@ -# uses: litetex/pull-detached-remote@vdev - uses: litetex/pull-detached-remote@v0.3.0 - - with: - upstreamrepo: https://github.com/robertdebock/molecule-action - upstreambranch: master - env: - GITHUB_PAT: ${{ secrets.GH_PAT }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml index 69ca59d..0bd7db2 100644 --- a/.github/workflows/yamllint.yml +++ b/.github/workflows/yamllint.yml @@ -6,6 +6,6 @@ jobs: yamllint: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: yamllint uses: ibiqlik/action-yamllint@v3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eb660a2..4aa7661 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.3.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -11,4 +11,4 @@ repos: rev: v1.26.3 hooks: - id: yamllint - args: [-c=.yamllint] \ No newline at end of file + args: [-c=.yamllint] diff --git a/README.md b/README.md index 9dbad68..baed4eb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Molecule action -A GitHub action to tests your [Ansible](https://www.ansible.com/) role using [Molecule](https://molecule.readthedocs.io/en/stable/). +A GitHub action to test your [Ansible](https://www.ansible.com/) role using [Molecule](https://molecule.readthedocs.io/en/stable/). ## Requirements @@ -76,7 +76,7 @@ jobs: with: path: "${{ github.repository }}" - name: molecule - uses: buluma/molecule-action@v4.0.7 + uses: buluma/molecule-action@v4.0.8 ``` NOTE: the `checkout` action needs to place the file in `${{ github.repository }}` in order for Molecule to find your role. @@ -99,7 +99,7 @@ jobs: with: path: "${{ github.repository }}" - name: molecule - uses: buluma/molecule-action@v4.0.7 + uses: buluma/molecule-action@v4.0.8 with: command: lint test: @@ -122,7 +122,7 @@ jobs: with: path: "${{ github.repository }}" - name: molecule - uses: buluma/molecule-action@v4.0.7 + uses: buluma/molecule-action@v4.0.8 with: image: "${{ matrix.image }}" options: parallel @@ -136,7 +136,7 @@ You can enable Molecule debugging by using this pattern: ```yaml # Stuff omitted. - name: molecule - uses: buluma/molecule-action@v4.0.7 + uses: buluma/molecule-action@v4.0.8 with: image: ${{ matrix.config.image }} tag: ${{ matrix.config.tag }} diff --git a/action.yml b/action.yml index 2f3acde..c72627b 100644 --- a/action.yml +++ b/action.yml @@ -30,7 +30,7 @@ inputs: runs: using: docker - image: 'docker://buluma/github-action-molecule:4.0.7' + image: 'docker://buluma/github-action-molecule:4.0.8' env: ANSIBLE_ROLES_PATH: "../" ANSIBLE_ASYNC_DIR: "/tmp/.ansible_async"