You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
setup-copywrite
v1.1.2
Download and configure the copywrite CLI tool.
Originally based off of setup-signore.
Note: see action.yml for detailed information about configuration and defaults.
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install copywrite
uses: hashicorp/[email protected]
- name: Validate Header Compliance
run: copywrite headers --plan
- name: Install copywrite v0.1.2
uses: hashicorp/[email protected]
with:
version: v0.13.1
- name: Install copywrite v0.1.2 and verify checksum
uses: hashicorp/[email protected]
with:
version: v0.13.1
# https://github.com/hashicorp/copywrite/releases/download/v0.13.1/copywrite_0.13.1_darwin_x86_64.tar.gz sha256 hash
archive-checksum: 359b0d80459012481f19a2bf7afafb5d6e01f2e5f8e4af42a89c0f5289adbaec
- What checksum are we verifying?
- After downloading the os/arch specific
tar
orzip
archive that contains the copywrite binary, we compare its SHA256 hash against the user suppliedarchive-checksum
- After downloading the os/arch specific