Skip to content

Commit 2a4f4fb

Browse files
committed
Update the precommit linter to match the CI; upgrade to Go 1.24.3 and Python 3.12
1 parent 9ae4296 commit 2a4f4fb

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
repos:
33
- repo: https://github.com/golangci/golangci-lint
4-
rev: v2.1.6
4+
rev: v1.64.5
55
hooks:
66
- id: golangci-lint

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /build
55
RUN CGO_ENABLED=0 go build ./act.go
66

77
# Main stage
8-
FROM python:3.13-slim-bullseye
8+
FROM python:3.12-slim-bullseye
99
RUN python -m ensurepip
1010
RUN python -m pip install --user --upgrade flake8
1111

Dockerfile.goreleaser

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.13-slim-bullseye
1+
FROM python:3.12-slim-bullseye
22

33
RUN python -m pip install --user --upgrade flake8
44

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ module go.arcalot.io/arcaflow-container-toolkit
22

33
go 1.24.3
44

5+
toolchain go1.24.4
6+
57
require (
68
github.com/creasty/defaults v1.8.0
79
github.com/docker/docker v28.2.2+incompatible
@@ -57,7 +59,7 @@ require (
5759
go.uber.org/multierr v1.11.0 // indirect
5860
golang.org/x/sys v0.33.0 // indirect
5961
golang.org/x/term v0.32.0 // indirect
60-
golang.org/x/text v0.25.0 // indirect
62+
golang.org/x/text v0.26.0 // indirect
6163
golang.org/x/time v0.11.0 // indirect
6264
gopkg.in/yaml.v3 v3.0.1 // indirect
6365

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ golang.org/x/term v0.32.0 h1:DR4lr0TjUs3epypdhTOkMmuF5CDFJ/8pOnbzMZPQ7bg=
164164
golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ=
165165
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
166166
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
167-
golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4=
168-
golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA=
167+
golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M=
168+
golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA=
169169
golang.org/x/time v0.11.0 h1:/bpjEDfN9tkoN/ryeYHnv5hcMlc8ncjMcM4XBk5NWV0=
170170
golang.org/x/time v0.11.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg=
171171
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

0 commit comments

Comments
 (0)