Skip to content

Can this be used to install conftest ? If not, is there a plan for an official action #32

@nitrocode

Description

@nitrocode

Hi all,

I noticed that there are a number of conftest actions out there

https://github.com/marketplace/actions/conftest - instrumenta/conftest-action
https://github.com/marketplace/actions/conftest-action - YubicoLabs/action-conftest
https://github.com/marketplace/actions/setup-opa-conftest - princespaghetti/setup-conftest
https://github.com/marketplace/actions/conftest-opa-test-runner - ibiqlik/conftest-action-docker

In light of the recent tj-actions incident, it would be good to have an official conftest action, if this action cannot be used to install conftest since so many unofficial actions seem to be published.

Workaround

      - name: Install Conftest
        run: |
          curl -sSL https://github.com/open-policy-agent/conftest/releases/download/v0.55.0/conftest_0.55.0_Linux_x86_64.tar.gz -o conftest.tar.gz
          tar -xzvf conftest.tar.gz -C /usr/local/bin/
          chmod +x /usr/local/bin/conftest
          rm conftest.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions