Upgrade to golang 1.21
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-04-16 19:28:09 +02:00
parent 35ce32a4ed
commit eb6ccfbe0e

View File

@@ -3,7 +3,7 @@ name: default
steps: steps:
- name: act - name: act
image: golang:1.20 image: golang:1.21
commands: commands:
- git clone https://github.com/nektos/act.git && cd act - git clone https://github.com/nektos/act.git && cd act
- export ACT_VERSION=$(git describe --tags --dirty --always | sed -e 's/^v//') - export ACT_VERSION=$(git describe --tags --dirty --always | sed -e 's/^v//')
@@ -12,7 +12,7 @@ steps:
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$ACT_VERSION" -o bin/act main.go - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$ACT_VERSION" -o bin/act main.go
- name: build - name: build
image: golang:1.20 image: golang:1.21
commands: commands:
- go test ./... - go test ./...
- sh scripts/build.sh - sh scripts/build.sh