diff --git a/Dockerfile b/Dockerfile index fa6dd34..9d957f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.25.7 AS build +FROM golang:1.26.0 AS build WORKDIR /yamllint-action COPY go.mod go.sum /yamllint-action/ RUN go mod download diff --git a/yamllint-action.go b/yamllint-action.go index 01f8041..5cd3d5b 100644 --- a/yamllint-action.go +++ b/yamllint-action.go @@ -82,6 +82,7 @@ func parseInput(r io.Reader) Report { cols := strings.Split(scanner.Text(), ":") if len(cols) < 4 { + //nolint:gosec log.Println(scanner.Text()) break }