chore: bump sdk to v1.5.0

This commit is contained in:
Louis Seubert 2026-09-13 19:01:17 +02:00
commit 54953ce9d6
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
5 changed files with 7 additions and 7 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
.git

View file

@ -7,7 +7,7 @@ WORKDIR /app
COPY go.mod go.sum /app/
RUN go mod download
COPY *.go /app/
COPY . /app/
RUN go build -o app .
FROM docker.io/alpine:3.22

2
go.mod
View file

@ -2,4 +2,4 @@ module code.geekeey.de/actions/checkout
go 1.23.2
require code.geekeey.de/actions/sdk v1.2.0
require code.geekeey.de/actions/sdk v1.5.0

4
go.sum
View file

@ -1,2 +1,2 @@
code.geekeey.de/actions/sdk v1.2.0 h1:qQvOdTBtZVpR1xATNnApeiW78y34Jh83OjsQg1ajPjA=
code.geekeey.de/actions/sdk v1.2.0/go.mod h1:7iIOi3YUmdDe2BCz9s59wK1t0Ckec34e664q+TOreiE=
code.geekeey.de/actions/sdk v1.5.0 h1:7Ly8QsBniiwDVbv2Gm14l28+ccK1Z9fVUqsPHw9lSMg=
code.geekeey.de/actions/sdk v1.5.0/go.mod h1:7iIOi3YUmdDe2BCz9s59wK1t0Ckec34e664q+TOreiE=

View file

@ -32,8 +32,6 @@ type CheckoutAction struct {
}
func (action *CheckoutAction) setup() error {
var err error
action.repository = action.GetInput("repository")
if len(action.repository) == 0 {
return fmt.Errorf("input 'repository': is empty") // something like '<server>/<owner>/<repo>.git'
@ -48,7 +46,8 @@ func (action *CheckoutAction) setup() error {
if len(action.reference) == 0 {
return fmt.Errorf("input 'ref': is empty") // something like 'HEAD'
}
return err
return nil
}
func (action *CheckoutAction) Run(ctx context.Context) error {