Skip to content

Commit 93440a4

Browse files
authored
Merge pull request #2 from devblac/codex/restore-cmd/docker-lint-entry-point
Use go.mod for Go version in CI workflow
2 parents 600cc35 + 684a2e8 commit 93440a4

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ on:
44
push:
55
branches: ["main"]
66
pull_request:
7-
8-
permissions:
9-
contents: read
7+
branches: ["main"]
108

119
jobs:
1210
test:
@@ -32,5 +30,4 @@ jobs:
3230
with:
3331
token: ${{ env.CODECOV_TOKEN }}
3432
files: coverage.out
35-
fail_ci_if_error: true
36-
verbose: true
33+
fail_ci_if_error: false

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Thank you for your interest in contributing to docker-lint!
66

77
### Prerequisites
88

9-
- Go 1.22 or later (matches the `go` directive in `go.mod`)
9+
- Go 1.22.x or later (matches the `go 1.22.0` directive in `go.mod`)
1010
- Git
1111

1212
### Getting Started

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A minimal, production-grade CLI tool for statically analyzing Dockerfiles to det
1818

1919
### From Source
2020

21-
Requires Go 1.22 or later.
21+
Requires Go 1.22 or later (as specified in `go.mod`).
2222

2323
```bash
2424
go install github.com/devblac/docker-lint/cmd/docker-lint@latest

cmd/docker-lint/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package main provides the docker-lint CLI entry point.
12
package main
23

34
import (

0 commit comments

Comments
 (0)