From 6ab0c32df90d83fa9afe17e345a7a588c0b82c9c Mon Sep 17 00:00:00 2001 From: Bob Callaway <bcallawa@redhat.com> Date: Thu, 19 Nov 2020 09:10:32 -0500 Subject: [PATCH] fix lint and correct typo --- .github/workflows/main.yml | 8 ++++---- README.md | 2 +- cmd/cli/app/upload.go | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ee9b62f..3e361a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,11 +22,11 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 # Lint it - - name: Setup golangci-lint Action - uses: nickhstr/action-setup-golangci-lint@v0.1.0 + - name: golangci-lint + continue-on-error: true + uses: golangci/golangci-lint-action@v2 with: - # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: 1.31.0 + version: v1.32 # Test It - name: Test run: go test -v . diff --git a/README.md b/README.md index 6c5cfb9..95f98c6 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ making an entry to the transparency log. `rekor upload --rekor-server rekor.dev --signature <artifact-signature> --public-key <your_public_key> --artifact-url <url_to_artifact>` -Note that the `--artifact-url` must be a pubically accessable location. For example `--artifact-url https://example.com/releases/latest/my_project.tar.gz` +Note that the `--artifact-url` must be a publically accessable location. For example `--artifact-url https://example.com/releases/latest/my_project.tar.gz` ## Verify Proof of Entry diff --git a/cmd/cli/app/upload.go b/cmd/cli/app/upload.go index f3d1afc..332f30c 100644 --- a/cmd/cli/app/upload.go +++ b/cmd/cli/app/upload.go @@ -130,7 +130,7 @@ of the release artifact and uploads it to the rekor server.`, pub_key, err := pkg.FormatPubKey(publicKey) if err != nil { - log.Error("Pubic key validation failed: ", err) + log.Error("Public key validation failed: ", err) os.Exit(1) } -- GitLab