diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7eeaec9..2654d41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,9 +4,7 @@ on: push: branches: ["main"] pull_request: - -permissions: - contents: read + branches: ["main"] jobs: test: @@ -32,5 +30,4 @@ jobs: with: token: ${{ env.CODECOV_TOKEN }} files: coverage.out - fail_ci_if_error: true - verbose: true + fail_ci_if_error: false diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0b60ce0..51026f7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ Thank you for your interest in contributing to docker-lint! ### Prerequisites -- Go 1.22 or later (matches the `go` directive in `go.mod`) +- Go 1.22.x or later (matches the `go 1.22.0` directive in `go.mod`) - Git ### Getting Started diff --git a/README.md b/README.md index 0a6895e..58e9f73 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ A minimal, production-grade CLI tool for statically analyzing Dockerfiles to det ### From Source -Requires Go 1.22 or later. +Requires Go 1.22 or later (as specified in `go.mod`). ```bash go install github.com/devblac/docker-lint/cmd/docker-lint@latest diff --git a/cmd/docker-lint/main.go b/cmd/docker-lint/main.go index 36cfd0a..de26c2f 100644 --- a/cmd/docker-lint/main.go +++ b/cmd/docker-lint/main.go @@ -1,3 +1,4 @@ +// Package main provides the docker-lint CLI entry point. package main import (