Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2f8ec9dc9 |
@@ -10,3 +10,6 @@ insert_final_newline = true
|
|||||||
|
|
||||||
[Makefile]
|
[Makefile]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
|
[*.go]
|
||||||
|
indent_style = tab
|
||||||
|
|||||||
@@ -47,6 +47,9 @@ node_modules/
|
|||||||
[iI][dD]_[eE][dD]25519_[sS][kK]
|
[iI][dD]_[eE][dD]25519_[sS][kK]
|
||||||
|
|
||||||
# This repository's own entries, kept after the canonical content above.
|
# This repository's own entries, kept after the canonical content above.
|
||||||
|
*.log
|
||||||
|
*.out
|
||||||
|
*.test
|
||||||
bin/
|
bin/
|
||||||
vendor/
|
vendor/
|
||||||
data/
|
data/
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ RUN golangci-lint run --config .golangci.yml ./...
|
|||||||
# it ends, because the first run already failed.
|
# it ends, because the first run already failed.
|
||||||
# golang 1.25.7-trixie, 2026-10-06
|
# golang 1.25.7-trixie, 2026-10-06
|
||||||
FROM golang@sha256:2b174ffcf56c7ad0c47d30d2630693265639ddf2a5141149c2da34db921791b4 AS test
|
FROM golang@sha256:2b174ffcf56c7ad0c47d30d2630693265639ddf2a5141149c2da34db921791b4 AS test
|
||||||
|
# The file permission tests skip themselves as root, so the tests run as
|
||||||
|
# an ordinary user, whose home directory holds Go's build cache.
|
||||||
|
RUN useradd --create-home tester
|
||||||
|
USER tester
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
|
|||||||
Reference in New Issue
Block a user