Use latest that includes fix https://github.com/nektos/act/pull/1928
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-07-31 15:34:26 +02:00
parent 2c52eb7b7e
commit 946603e2f4

View File

@@ -3,16 +3,16 @@ name: default
steps: steps:
- name: act - name: act
image: golang:1.19 image: golang:1.20
commands: commands:
- git clone -b v0.2.41 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//')
- git apply ../patches/001-workdir-bind.patch - git apply ../patches/001-workdir-bind.patch
- mkdir bin - mkdir bin
- 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.19 image: golang:1.20
commands: commands:
- go test ./... - go test ./...
- sh scripts/build.sh - sh scripts/build.sh